Home > OS >  Write a batch file for bosses!!!!!!
Write a batch file for bosses!!!!!!

Time:11-27

The requirements of the batch file is as follows:
1. The first retrieves the current directory of all folders (named these folders are positive integers, the first folder is 1, the second is 2, and so on, a total of n folder value can change [n])
2. N the folder name for: 1. If only a avi file, the file named n
2. If you have multiple avi files, are: (1) to 0. Avi named n_1. Avi.
1. Avi named n_2, avi. So on
2. The audio. Avi named n (which is the name of the folder, positive integer) audio, avi
3. The video. Avi named nvideo. Avi
[note: 1 and 2, 3 is two things, either 1 or 2, 3; that is to say, 0, avi files and audio, avi video files won't appear in a folder at the same time]

CodePudding user response:

Algorithm, say hard, also said that difficult difficult,,,

CodePudding user response:

reference 1st floor response:
algorithm, say hard, also said that difficult difficult,,,

So bosses can give you a code I am not to do this, the batch file I what all don't know, I still have it
  • Related