I have a batch file from Karan.
How to fix location to run this batch my file location is C:\proview\upload\EJ_daily_Temp.
path=c:\program files\7-zip;%path%
for /f "tokens=1,2 delims=_" %%i in ('dir/b *_ej.zip') do ren %%i_%%j %%i.zip
for %%i in (*.zip) do 7z x %%i -o*
for /r %%x in (K*.jrn) do ren "%%x" ??????+????????.jrn
for /f "delims=" %%d in ('dir /ad /b') do @rd /q /s "%%d"
No comments:
Post a Comment