The following is the speech quoted by Roy on 2003-7-30 11:15:34:
Update again~~~
Fixed a bunch of small bugs
Had a look, and indeed quite a lot of small bugs have been fixed!.. But it seems there are also two misunderstandings:
The first one is:
if not %os%#==Windows_NT# set windir=
if not %windir%#==# set win=1
if %os#==Windows_NT# set win=1
Actually, the 3rd line isn't necessarily needed because there is also the windir variable under WinNT/2K/XP, but since the windir at this time can be directly deleted with the SET command, so we must first check the %OS% variable. But once it is found that the windir variable still exists, it can basically be determined that Win (no matter what version) is running.
The second one is:
if exist %tdir% del %tdir%
Become:
if exist %tmpdest%\nul echo Y|del %tmpdest%\*.*>NUL
Actually, if exist %tdir% is to judge whether there is the file %tdir%, not the directory %tdir%. Because if there is a file with the same name, then this directory cannot be established. So it's better to check and delete first..
In addition, do we need to re-establish a unified version?
Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
