winrar - How to make a batch file to execute win rar in multiple folders -


iam new batch files pls bear me. want make batch file can take folders different locations , zip in 1 win rar file in location

c:\projects\test  c:\www\site c:\logs\office 

to

c:backup\{{date}}_backup.rar 

thanx in advance

@echo off ( echo c:\projects\test  echo c:\www\site echo c:\logs\office )>list.txt "%programfiles%\winrar\rar" "c:\backup\%date:/=-%_backup.rar" @list.txt 

if on win-x64 set rar path: "%programfiles(x86)%\winrar\rar"


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -