Hello, I just got a new PC that has Windows 7, am trying to make a batch file to back up "My Documents" to a thumbdrive the same way I did in XP but keep getting "Access Denied" message.
This line works fine- xcopy c:\"Users\John\Favorites" j:\ZT\"Users\John\Favorites"\ /e/s/d/y
but when I run- xcopy c:\"Users\John\My Documents" j:\ZT\"Users\John\My Documents"\ /e/s/d/y I get "Access denied unable to create directory"
There is probably something simple that I'm missing but I don't see it. Any help would be greatly appreciated.
Last replyBest Answer
More aboutneed basic batch file
In windows 7 "My Documents" is renamed to "Documents"
so it would be C:\Users\John\Documents
Thanks! You are absolutely right, that works like a champ. I don't understand why I see both "Documents" & "My Documents" listed in Win 7 but that doesn't matter as long as I have my backup. Thanks again!