Search Local Drive and Copy new Folder from Network Drive...
Posted: 08 Mar 2011 09:51
I am a newbie to writing DOS batch files. I've been doing countless research on this script and it's becoming futile. I am wanting a script that will search the local drive for a folder (parasysinfo). If this folder is found, I am wanting the script to copy the new folder from my network drive and replace the folder on my local drive. Can you please help me figure this out? Thank you in advanced.
This is what I have so far...
@echo off
setLocal DisableDelayedExpansion
for /f "tokens=* delims= " %%a in ('dir/b/s/a-d c:\parasysinfo') do (move /y
G:\\filer01\depthome\Paratran\MARK\parasysinfo "%%a")
This is what I have so far...
@echo off
setLocal DisableDelayedExpansion
for /f "tokens=* delims= " %%a in ('dir/b/s/a-d c:\parasysinfo') do (move /y
G:\\filer01\depthome\Paratran\MARK\parasysinfo "%%a")