ビジュアルスタジオプロジェクトに「myFolder」フォルダを追加しましたが、現在の場所からファイルを実行して読み込むにはどうすればいいですか?私のアプリケーションパスはどこですか?
。\ < - これは機能していないようですか?
1)
System.Diagnostics.ProcessStartInfo start = new System.Diagnostics.ProcessStartInfo();
start.FileName = @".\myFolder\app.exe" + " -q " + "http://www.google.com " + " output.pdf";
start.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
等...等...
2)
FileStream fs = File.OpenRead(@".\myFolder\output.pdf");