Home > other >  For help: the batch command, DOS
For help: the batch command, DOS

Time:11-18

Such as: path
D: \ result \ \ "how much is the file" bust
Don't know the absolute path to bust file, need find "bust" from above, the path to the file and copy to F packing directory,

CodePudding user response:

New bat file:
1, path_a=$(` CD../../` & amp; & ` D: \ result \ `)
2, check_dir=` dir/s/b bush ` # get bust file's absolute path to the file list
3,
For I in $check_dir
Do
# I into a single path, CD in first, copy the copy operation, and switching out

done