2010-09-17 68 views

回答

4

我會使用環境變量「WINDIR」爲Explorer.exe的坐落在那裏

string windir = Environment.GetEnvironmentVariable("windir"); 
string explorerPath = windir + @"\explorer.exe"; 
+0

作品奇妙,謝謝! – Hedge 2010-09-17 10:47:31

+0

@對衝:不客氣:-) – Xander 2010-09-17 14:51:42