Hello, I'm fairly new to this and I can't figure out how to create a 
folder 
context entry to have Winrar create an archive of the folder in 
another location.

I have a command list named ContextFolder with the following entry:
"C:\Program Files\WinRAR\WinRAR.exe" a -r ?"D:\work\||" "||". I am 
trying to pass the current folder name to Winrar (the "||" at the 
end of the command line) and have it create an archive in D:\work 
with the filename of the source directory. Winrar's command line 
syntax is:
Winrar.exe a -r archive_name Source_files 
The a command Winrar to add and the -r tells it to recurse the 
directory.

Winrar gives me the following error message:
"Can not create ?"D:\work\|D:\download.rar"
I was trying to backup D:\download into an archive named 
Download.rar in the D:\work directory.

One obvious error is that "||" is passing the entire path instead of 
just the folder name. Can I change that? Secondly, why is there an 
extra "|" before the filename? Thanks in advance for any help you 
can offer






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to