|
Things to try inside bat file
Rem start of file....commands are grouped
C:
cd\
cd windows
rem or better yet
C:
cd\
cd %windir%
If %windir% == C:\WINNT exit
echo Your windows directory is %windir%
rem "both must be true"
if exist win.com if exist system.ini ren system.DA0 system.tmp
rem
if not exist win.com exit
Rem end
Just for fun at the command line type
dir \ /s | find /I "bytes"
echo %temp%
|