cowieit
Tuesday, 30 September 2014
xcopy / robocopy specific files from a folder
use %% in a script or use % if running it interactively fromcommand line
the . at the end is 'copy to the current dir'
for %%g in ("
\\servername\
file1.txt", "
\\servername\
file2.bat") do xcopy %%g .
robocopy
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment