no need of that link, i made a bat file myself by studying basics; but still there is a issue my script wont function on folder names with spaces on it. the issue is with rar command line tool itself as it wont accept filenames with spaces on commandline.

do u have a bat file to remove spaces from folder names ?

i am already tiered , spent more than 30hrs on making the following bat

1) rename all folder name from folder to folder-mysite
2) put site.txt on all folder
3) compress with rar store option and split into 200mb part
4) move all rar to a separate folder called output

as far i heard cmd wont do strip out of spaces on folder names.
vgnheart Reviewed by vgnheart on . need rar & rename commands for windows here are the linux commands for rar for f in *.*;do rar a -m0 -v209716 "$f".rar "$f";done for f in *.rar;do unrar e -o+ "$f";done and rename command is for f in *.*;do mv "$f" mysite_"$f";done Rating: 5