H haze Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #1 我想在delphi里调用dos的format命令,进行磁盘格式化,请问命令的格式是什么。<br>谢谢。
W wwhnet Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #2 可用winexec('c:/windows/command/format c:',SW_SHOWNORMAL);
O oldsheep35 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #3 要先获取系统目录然后再调用format<br>楼上的方法就不能在NT,2000里实现了!
迷 迷糊 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #5 winexec('format.com d:',sw_normal);<br>直接调用就可以了,路径在环境变量里有了
T ty123 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #6 http://www.delphibbs.com/delphibbs/dispq.asp?lid=1025808
O oldsheep35 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #7 GetSystemDirectory function retrieves the path of this directory. <br>GetWindowsDirectory function retrieves the path of this directory. <br>Last to do :Winexec()<br><br><br>
GetSystemDirectory function retrieves the path of this directory. <br>GetWindowsDirectory function retrieves the path of this directory. <br>Last to do :Winexec()<br><br><br>