1.

Solve : help rar commans on windows CLI?

Answer»

hello there
i am using cobian backup for shelude
i am using dos (XCOPY) backup with your help

yes... very good backuping subdirectory with sheluder

i need pack this subdirectury
and i wanna use rar.exe (in windows server path)

my backup path f:\Yedek
subdiretory names smilar



i am PACKING manualy... day by day packing with WINRAR for small size
that is only one program backup subdirectory
have more

my need,

how i can pack subdirectory with same name than delete this packed subdirectory with no problem ?

but dont ask or command when delete subdiretory.. must be auto complate

i check rar commands but dont understand it. because i need subdirectory names for new pack files than i must delete it

more than..... (pack FINISHED all subdiretories.....)
can be move all rar-ed files toooooooo Z:\...\... (special path - other disk) ?

dont need extract. only need pack with rar.exe

could you help me ?

find it.... but, including main directory and adding subdiretory.. mean... test\_sub_dir\_files_

how i can fix it ?

@echo off
SET PATH=%PATH%;C:\Program Files\WinRAR

FOR /L %%G IN (1,1,3) DO (

CD f:\test

FOR /D /R %%G IN ("*") DO (

ECHO This is %%G

WINRAR a -afrar -df %%G %%G

)
)




Discussion

No Comment Found