Jump to content

Recommended Posts

Posted

Lets say we have D:\ with folders named:

A

B

C

D

etc... (to Z)

 

I want to CD into folder A THEN xcopy subfolder1 here, xcopy subfolder2 there, copy Folder A flat root content files somewhere else, THEN CD.. THEN Move to folder B

The process will then start again, until all folders have been completed.

 

I think i need to use a FOR /D

 

Research =

Batch for loops - Judago's scripts / console stuff

for /d - Loop through directory | SS64.com

 

 

Any help would be amazing !

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...