Rick,
FOR ... EXIST %%i:\win98 xcopy ... c:\win98
Changing WinNT to Win98 is ok.
I had an extra \ between winnt and xcopy
the last time, please make sure that
it is not there.
When the batch file loops, what are the
values for the letters that you see?
BTW, setting focus to the batch file window
then hitting Ctrl-C should kill the infinite
loop.
Also, I'm not sure for Win98, but if you
type 'help for' from a windows command
prompt, you may get some help on
the exact syntax for Win98.
Cardyin
--------------------------------------
Cardyin Kim
C/S & Web Development Analyst
Information Services
San Antonio Community Hospital
ckim@s... (xxx)xxx-xxxx
--------------------------------------