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
Post a Comment