我写了一个 但是报错了 错误发生于system exec.vi command was "Command was "cmd C:\Users\CCD\Desktop\1.exe"" 该怎么解决呢 跪谢
å¦æéè¦å¨DOSçªå£ä¸è¿è¡å¤é¨exeç¨åºï¼ä½ éè¦é®å
¥
cmd /c C:\Users\CCD\Desktop\1.exe
æ¯å¦åç®å½çâdirâå½ä»¤ï¼å°±éè¦å¨DOSçªå£è¿è¡ï¼è¾å
¥cmd /c dirï¼å¨è°ç¨æ§ä»¶çæ åè¾åºå°±å¯ä»¥çè§ç»æ
å¦æä¸æ¯DOSç¨åºï¼ä¾å¦å¾®è½¯çWORDï¼ä¸éè¦åé¢çcmdï¼ç´æ¥é®å
¥ç®æ æ件夹就å¯ä»¥ï¼ä¾å¦
D:\Program Files\Microsoft Office\Office12\WINWORD.exe
ä¸è¡ï¼ï¼è¿æ¯åºéäºãã
追ç好å¥æªï¼æä½ çç¨åºï¼ä½ çviå被è°ç¨çå¤é¨ç¨åºï¼é½æ¾å¨è¿å¿çé件éï¼æå¸®ä½ çä¸
追é®ä¸å¥½ææåï¼è¿ä¸ªvi ä¸è½å ¬å¼ç æå·²ç»æ¾å°äºå ¶ä»ç解å³æ¹æ¡äº 谢谢