1、直接打開指定的文件
System.Diagnostics.Process.Start(v_OpenFilePath);
2、直接打開目錄
string v_OpenFolderPath = @"目錄路徑"; System.Diagnostics.Process.Start("explorer.exe", v_OpenFolderPath);
System.Diagnostics.Process.Start(v_OpenFilePath);
string v_OpenFolderPath = @"目錄路徑"; System.Diagnostics.Process.Start("explorer.exe", v_OpenFolderPath);
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。