outonalimb
Technical User
We use a batch file to XCOPY a file into a specific folder on each of our clients machines. Under NT4 Workstation, this process works fine (no prompt) but under Windows 2000 Pro, it always prompts for the user to overwrite the file. i.e. he or she must press Y on the keyboard for the copy to work.
The xcopy command we use is as follows:
xcopy \\apollo\netlogon\hosts %icetcp%\hosts
%icetcp% is an variable we configure in the autoexec.bat to map the path to the folder.
Does anyone know how I can force the overwrite of the file without any user interaction in Windows 2000 Pro?
I know about the /Y switch in 2000/XP but this switch doesn't exist under NT4.
Can anyone suggest a solution to this problem in my mixed NT4 and 2000 Pro environment?
The xcopy command we use is as follows:
xcopy \\apollo\netlogon\hosts %icetcp%\hosts
%icetcp% is an variable we configure in the autoexec.bat to map the path to the folder.
Does anyone know how I can force the overwrite of the file without any user interaction in Windows 2000 Pro?
I know about the /Y switch in 2000/XP but this switch doesn't exist under NT4.
Can anyone suggest a solution to this problem in my mixed NT4 and 2000 Pro environment?