Rar related CMD

recursively add folder Document to archive: (with all the files)

1 rar a *.rar Document

recursively add folders to archive: (with all the files)

1 for %i in (folder1,folder2,folder3,..) do rar a *.rar %i

add path etc to certain files:

1 rar a *.rar -apetc files

recursively add files with same type(s) to archive and ignore orginal file path:

1 for /r %i in (*.type) do rar a *.rar -ep %i

 

posted on 2016-04-20 17:03  三叁  阅读(127)  评论(0编辑  收藏  举报

导航