But I turned the rar command line, did not find this option,
So want to write a batch script to achieve it, wrote half a day, didn't write well, a great god help write:
: : I am the annotation
Echo off & amp; Color 0 a
The set RAR="c: \ Program Files \ WinRAR \ RAR exe"
: : specify the starting folder
The set DIR="% % CD"
Echo to deal with the directory: % DIR %
For DIR/R % % % % f (.) in the do (
Echo subdirectories [% % f]
: : set "RARNAME=% % ~ NXF"
RAR % % a % % ~ NXF. RAR % % f
)
Pause
Demand is probably:
Traverse a directory, if a child only file directory,
So the subdirectories rar compression - a subdirectory name. Rar subdirectory
CodePudding user response:
Himself wrote a.net console application, done,It doesn't seem that god have to CSDN,
This post when the scattered points,
CodePudding user response:
CSDN great god more, in that?