M makesi Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-16 #1 请问如何在程序中运行DOS命令,如:我要在程序中运行'copy f:/aa.txt e:/ss.txt'该怎样操作
P pal2003 Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-16 #2 winexec ('copy f:/aa.txt e:/ss.txt');
P pal2003 Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-16 #3 winexec(行'copy f:/aa.txt e:/ss.txt', SW_SHOWNORMAL);
M makesi Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-18 #5 谢谢两位,pal2003的那中方法我试过好象不行的.我现在正是写在批处理,我想得到更好的方法.
S Supermay Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-18 #7 winexec ('cmd.exe /c copy f:/aa.txt e:/ss.txt'); win2k