Jump to content

Recommended Posts

Posted

hey guys, i need a little help.

 

I am trying to create a script to find a folder and copy it.

 

so far i have done:

This is a .BAT file running CMD

 

if exist "E:\Folder" xcopy "E:\" "." /A /H /S /E /V /C /I /Q /O /X /exclude:exclude.txt

 

but i dunno it is right, its giving me wrong parameters and stuff

 

i want it to find the folder on E:, then copy it to where the script is running from. Any ideas? thanks guys

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...