Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Tom Tinsley
2009-04-04T20:49:59Z
Getting error:

Task "Run RAR" exited with code: 7(The storage control blocks were destroyed. Any ideas?

Command:

"C:\Program Files\WinRAR\rar.exe"

Arguments:

-a -r -agYYYYMMDDHHMMSS -rr -m5 S:\backup\Docs_Settings\{COMPUTER(Name)}_.rar @c:\TEMP\bkuplist.txt
Sponsor
Forum information
Support
2009-04-07T10:29:21Z
I think you are using the rar.exe switches wrong. Check the output. There is no "-a" switch in rar.exe. But there is a "a" command.

I am no rar expert, never used it, but I looked at the documentation. This should work as argument:

a -r -agYYYYMMDDHHMMSS -rr -m5 S:\backup\Docs_Settings\{COMPUTER(Name)}_.rar @c:\TEMP\bkuplist.txt
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Tom Tinsley
2009-04-07T14:22:32Z
Support wrote:

I think you are using the rar.exe switches wrong. Check the output. There is no "-a" switch in rar.exe. But there is a "a" command.

I am no rar expert, never used it, but I looked at the documentation. This should work as argument:

a -r -agYYYYMMDDHHMMSS -rr -m5 S:\backup\Docs_Settings\{COMPUTER(Name)}_.rar @c:\TEMP\bkuplist.txt




I had it as an "a" before and thought maybe I transposed it incorrectly. I know this works from a batch. Because I use it all the time.

"C:\Program Files\WinRAR\rar.exe" a -r -agYYYYMMDDHHMMSS -rr -m5 %varPath%\%COMPUTERNAME%_.rar @c:\TEMP\bkuplist.txt

Support
2009-04-07T15:46:14Z
So, it works now? We did a quick test. We got same error when using "-a" and no error when using just "a". The reason for the error is located in the output of the Task (output column) which says that no "-a" command exist. When changing to "a" it returns success.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Tom Tinsley
2009-04-07T20:28:53Z
Support wrote:

So, it works now? We did a quick test. We got same error when using "-a" and no error when using just "a". The reason for the error is located in the output of the Task (output column) which says that no "-a" command exist. When changing to "a" it returns success.



I put it back to the "a" and got an Invalid Handle error. I found the solution to that and now it all works. The invalid handle was caused buy bad data in the c:\TEMP\bkuplist.txt file. So all is well and working now with this. I do know I had the "a" for weeks and received the error stated before. I am amazed it worked now. Also I accidentally clicked something that brought up a note like display giving the error condition. How can I bring that up each time when troubleshooting? This is the window pop-up that said the "-a" was invalid.
Support
2009-04-07T20:31:45Z
When you double click the Std output column or std error column you can see the result from rar.exe. It depends, some write to std out and some std error but you have both in the Task row.

If you don't see those columns you can add them in "List" tab.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top