S
Swifty
Is there an XCOPY switch to tell tell it that the destination is a file and
not to prompt? Like the opposite of /I ?
The command "xcopy c:\temp\x.x c:\temp\y.y /y" will not produce a prompt if
the destination file already exists, but if it does not exist, you get:
Does C:\temp\y.y specify a file name
or directory name on the target
(F = file, D = directory)?
I'm trying to use xcopy in a simple backup process, so I have a workaround:
I can check if the destination file exists, and if it doesn't then create
it just before attempting the xcopy, but this is pretty horrible...
not to prompt? Like the opposite of /I ?
The command "xcopy c:\temp\x.x c:\temp\y.y /y" will not produce a prompt if
the destination file already exists, but if it does not exist, you get:
Does C:\temp\y.y specify a file name
or directory name on the target
(F = file, D = directory)?
I'm trying to use xcopy in a simple backup process, so I have a workaround:
I can check if the destination file exists, and if it doesn't then create
it just before attempting the xcopy, but this is pretty horrible...