View Single Post
Old 01-13-2006, 12:10 AM  
Rodney
Guest
 
Posts: n/a
Default

ok i got it working, if anyone else is interested here is the bat file i use:

if exist %1\*100*complete* goto unrar
exit
:unrar
c:\windows\system32\rar.exe e -y %1\*.rar %1\x\
if exist %1\x\*.avi goto move
exit
:move
move %1\x\*.avi %1\..\
rmdir /s /q %1
exit

and this is what i use in the ioftpd.ini
OnUploadComplete = %EXEC d:\ioftpd\scripts\hidebat.exe d:\ioftpd\scripts\extract.bat %[$path]
  Reply With Quote