English (Global) > General Discussion

gooday zoom, may i suggest something crazy ?

(1/2) > >>

nayo:
hi zoom, i got an idea about a very nice feature to add to your software...
now i explain...


lets suppose i have a file weighting 6gb... and winrar installed

it would be nice if your software would create on the fly a winrar multi archive with X .rev files (set by user inside preferences)... once upload is done those temporary files would be deleted...

what do you think about this ?


another simple way to explain:
source file.iso 6gb  ---> 8 files are uploaded file.iso.part1-6  & file.iso.rev1-2

thanks in advance for your answer ^^

nayo:
i gave a look at the preferences...
i am not sure, but maybe a special winrar command line would be enough to do what i have in mind, now i just need o find out the magic words to put into command line options...

nayo:
sadly isn't possible to make this work, cause you cannot input a command line...


anyway here is a bat file doing the thing i need, i wonder if it would be possible to make zoom uploader do this automatically:


"c:\Program Files\WinRAR\rar.exe" a -m5 -v1024m -rv2 "%%i".rar "%%i"

create a maxium compression, multiarchive split in parts of 1gb, and also creates 2 .rev files :D

nayo:
ps change "x:\Apps x Windows\0 File Uploader\FileUploader.exe" with the correct path to your file : fileuploader.exe


guess i found a solution :D

create this bat 000RARzfu.bat

inside put:


SET wherezfu="x:\Apps x Windows\0 File Uploader\FileUploader.exe"
SET abspath=%~dp0

tasklist /FI "IMAGENAME eq FileUploader.exe" | find /i "FileUploader.exe"

IF ERRORLEVEL 2 GOTO ISRUN
IF ERRORLEVEL 1 GOTO NORUN

:ISRUN

md tempzfu
md donezfu

:LOOP
FOR %%i IN (.\*.*) DO (SET varx="%%i")

IF (%varx%) == (".\000RARzfu.bat") GOTO END

move %varx% .\donezfu\
cd donezfu
"c:\Program Files\WinRAR\rar.exe" a -m5 -v1024m -rv2 -o+ .\..\tempzfu\%varx%.rar %varx%

cd..
cd tempzfu
FOR %%j IN (.\%varx%*.*) DO call %wherezfu% %abspath%tempzfu\"%%j"

cd..
GOTO LOOP
:END

rem cd donezfu
rem move *.* .\..\
rem cd..
rem rd donezfu
rem del 000RARzfu.bat
EXIT

:NORUN
cls
@echo PLEASE CLICK ON THE .BAT FILE AGAIN, IF FILEUPLOADER.EXE IS RUNNING, THE BAT FILE WILL WORK.
@echo (also be sure upload immediately is checked, and also a default selection profile is selected in the top window)
%wherezfu%
EXIT

z_o_o_m:
isn't folder monitoring easier? :)

Navigation

[0] Message Index

[#] Next page

Reply

Go to full version