1
13668908226
Unregistered / Unconfirmed
GUEST, unregistred user!
我主要想删除一些zip文件,但如果ExtractFilePath(Application.exename)中包含中文路径<br>执行就无效了,请指点,谢谢<br> fn1 := PChar('command.com /c del '+ExtractFilePath(Application.exename)+'web/*.zip') ;<br> fn2:= PChar('cmd.exe /c del '+ExtractFilePath(Application.exename)+'web/*.zip') ;<br> if WinExec(fn1,sw_hide)<31 then<br> WinExec(fn2,sw_hide);