Hello,
kinda stuck with this and hoping someone can help. I am trying to copy a folder from a network drive and putting it in a local pc and I know I can do this by dragging and dropping the folder in Windows, but would like to automate this using a batch file. I am stuck on the commands to use to copy the whole folder. Here is what I have. Please let me know where I am going wrong.
Location of the network folder that I want to copy from: g:\swdist\software\campaign software\campaign\start menu (the start menu has couple of subfolders as well)
Location where I want this copied to : c:\documents and setting\current user\start menu
I am using
cd\
g:
cd swdist\software\campaign software\campaign\
xcopy start menu %userprofile%\start menu
This is giving me a syntex error. Any guidance will be greatly appreciated.
Thanks