Home > Software engineering >  Bat command
Bat command

Time:11-19

I now have 5 folder, there are photos, I want to extract the photos to A new folder, these I know, the photos in the folder name for the bat how to write,

CodePudding user response:

Take, for example, conform to the requirements of the file name is... ; Do not conform to the requirements of the file name is... ;
The folder contains a folder...

In addition, this it is best to use the VBS script do;

CodePudding user response:

Copy the old folder name \ *. JPG images (or other suffix) new folder name

CodePudding user response:

Want to use the full path

Such as copy c: \ "a \ *. PNG c: \ b"

CodePudding user response:

reference 1st floor milaoshu1020 response:
, for example, conform to the requirements of the file name is... ; Do not conform to the requirements of the file name is... ;
The folder contains a folder...

In addition, this it is best to use the VBS script do;
the VBS script how to write a great god

CodePudding user response:

refer to the second floor response: VB amateurs
copy the old folder name \ *. JPG images (or other suffix) new folder name
old folder has a lot of, this will lose a lot of times very troublesome, is there a better

CodePudding user response:

The
reference 3 floor response: VB amateurs
want to use the full path

Such as "copy c: \ \ *. A PNG c: \ b"
that need to write one, I want to look at the bat automatic identification each child folders directory, to copy

CodePudding user response:

reference what glory of 4th floor response:
Quote: refer to 1st floor milaoshu1020 response:
, for example, conform to the requirements of the file name is... ; Do not conform to the requirements of the file name is... ;
The folder contains a folder...

In addition, this it is best to use the VBS script do;
the VBS script how to write a great god

You haven't seen my request: you give an example:
Such as what kind of what kind of directory, and file move/copy to but not including what kind of documents;
  •  Tags:  
  • VBA
  • Related