Page 1 of 1

Script Request

Posted: 14 Jun 2019 06:18
by stondesign
I have 2 File

file.extension1
file.extension2

I would need a script that by moving over the files creates a ZIP archive with the name of the first file and that after creating the zip delete the two files I dragged over

Re: Script Request

Posted: 20 Jun 2019 10:54
by stondesign
I created a solution

Code: Select all

"C:\Program Files (x86)\WinRAR\Rar.exe" a -ep1 -r %~n1.zip %1 %2 %3 %4 %5 %6 %7 %8 %9 %10
move %~n1.zip zipped-archive
del %1 %2 %3 %4