P pegasus1 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-26 #1 ShellExecute(handle, 'open', 'xcopy.exe', ' c:/a e:/f/', '', SW_HIDE);<br>以上语句中,假如复制的源文件和目标文件的路径不确定,怎样解决,我想用字符串变量<br>代替,但不行
ShellExecute(handle, 'open', 'xcopy.exe', ' c:/a e:/f/', '', SW_HIDE);<br>以上语句中,假如复制的源文件和目标文件的路径不确定,怎样解决,我想用字符串变量<br>代替,但不行
A apw Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-26 #3 var<br> param: string;<br><br> prarm := ' c:/a e:/f/'; {参数动态生成}<br> ShellExecute(handle, 'open', 'xcopy.exe', PChar(param), '', SW_HIDE);<br>
var<br> param: string;<br><br> prarm := ' c:/a e:/f/'; {参数动态生成}<br> ShellExecute(handle, 'open', 'xcopy.exe', PChar(param), '', SW_HIDE);<br>
迷 迷糊 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-26 #4 var<br> s:string;<br> s:= ' c:/a e:/f/'<br>ShellExecute(handle, 'open', 'xcopy.exe', pchar(s), '', SW_HIDE);
var<br> s:string;<br> s:= ' c:/a e:/f/'<br>ShellExecute(handle, 'open', 'xcopy.exe', pchar(s), '', SW_HIDE);
东 东兰梦舞 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-26 #5 s := 'c:/a';<br>t := 'e:/f/';<br>ShellExecute(handle, 'open', 'xcopy.exe', PChar(' ' + s + ' ' + t), '', SW_HIDE);
s := 'c:/a';<br>t := 'e:/f/';<br>ShellExecute(handle, 'open', 'xcopy.exe', PChar(' ' + s + ' ' + t), '', SW_HIDE);
P pegasus1 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-26 #6 用什么命令可以打开一个窗口,如打开E盘,并使之最大化。
W weiwei81123 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-26 #7 ShellExecute(0, 'open', 'e:', nil, nil, SW_SHOWMAXIMIZED);