Open a folder using Process.Start

后端 未结 14 2299
南笙
南笙 2020-11-30 22:56

I saw the other topic and I\'m having another problem. The process is starting (saw at task manager) but the folder is not opening on my screen. What\'s wrong?



        
14条回答
  •  渐次进展
    2020-11-30 23:09

    System.Diagnostics.Process.Start("explorer.exe",@"c:\teste"); 
    

    This code works fine from the VS2010 environment and opens the local folder properly, but if you host the same application in IIS and try to open then it will fail for sure.

提交回复
热议问题