I'm trying to write a simple script to move files (only) from various folders to a different location. I'm just unsure of how to do it recursively so that all subfolders are included in the move. I was looking into xcopy but didn't see which switch would apply. It seems that Robocopy might do the trick but again for some reason can't seem to find the right switch.
The other question I have involves copying 2 files from a network source to a local drive. The specific locations on the local drive would be the windows folder and the users/public/desktop folder. Would a simple command like the following suffice?
copy \\networksource\files\intranet.ico c:\windows
copy \\networksource\files\intranet.html c:\users\public\desktop
thanks for any suggestions
The other question I have involves copying 2 files from a network source to a local drive. The specific locations on the local drive would be the windows folder and the users/public/desktop folder. Would a simple command like the following suffice?
copy \\networksource\files\intranet.ico c:\windows
copy \\networksource\files\intranet.html c:\users\public\desktop
thanks for any suggestions