J
John Price
Hi
I'm trying to write a BAT file to copy files from one computer across
to another computer on the network. Sharing and permissions are granted
to allow read/write. Both computers running Win 7. Can copy back and
forth at will using Windows Explorer.
The content I've got so far is
CD\
xcopy c:\forcopy\*.* \\MAIN-DESKTOP\c$\forcopy1 /D /E /Y
pause
but this returns an error "Invalid drive specifiction" when I run the
BAT file containing it
I've tried changing the $ sign to a colon, but same result.
If I change the destination path to another folder on the source drive
it works fine, so it must be something about the path as it's shown
above. Or is this something that isn't possible.
What's wrong?
Many thanks
--
I'm trying to write a BAT file to copy files from one computer across
to another computer on the network. Sharing and permissions are granted
to allow read/write. Both computers running Win 7. Can copy back and
forth at will using Windows Explorer.
The content I've got so far is
CD\
xcopy c:\forcopy\*.* \\MAIN-DESKTOP\c$\forcopy1 /D /E /Y
pause
but this returns an error "Invalid drive specifiction" when I run the
BAT file containing it
I've tried changing the $ sign to a colon, but same result.
If I change the destination path to another folder on the source drive
it works fine, so it must be something about the path as it's shown
above. Or is this something that isn't possible.
What's wrong?
Many thanks
--