Jul 24, 2007 11:23
I want to run a batch job in Windows XP that copies my My Docs folder to Z:/. I don't know how to handle the long file names. Here's the command I'm using in the batch file:
xcopy /e /y /h C:\Documents and Settings\marjai\My Documents\ z:\MyDocBU\
I think the long file name is screwing things up. How do I make it work?
job,
tech
Leave a comment
Comments 5
xcopy /e /y /h "C:\Documents and Settings\marjai\My Documents\" "z:\MyDocBU\"
Reply
the quotes worked when I added "*.*" after My Docs...
Old Skool.
Reply
Reply
Reply
Reply
Leave a comment