[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 4754 Date : 2003-06-04 Author : Garry Deane Subject : Re: xxcopy to CD-RW Size(KB) : 0
Kan, I found bug in the brief version of the CD batch which I'd fixed in the longer version. This fix should probably be included in the brief version. It occurs if %0 has no drive letter specified e.g. someone is in the same directory as install.bat and just types INSTALL. The batch will still work properly but issues a 'Bad command or file name' error which will be disconcerting. The fixed code is as below: echo. echo *************************** echo * XXCOPY INSTALL SCRIPT * echo *************************** echo. if "%OS%"=="Windows_NT" ((cd /d %~dp0)&(goto next)) echo %0 |find.exe ":" >nul if errorlevel 1 goto CDir %0\ :CDir cd %0\.. :next Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.