how do I setup a udc commend that replicates izarc's context menu items as shown below? I've tried -a and -ad command switches with no luck. any help? thx.


You mean you have installed izarc and dont get those menus by default?jsc572 wrote:Hello,
how do I setup a udc commend that replicates izarc's context menu items as shown below? I've tried -a and -ad command switches with no luck. any help? thx.
I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.serendipity wrote: You mean you have installed izarc and dont get those menus by default?
Oh ok, does this work?jsc572 wrote:I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.serendipity wrote: You mean you have installed izarc and dont get those menus by default?
"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
unfortunately, no. izarc doesn't recognize anything after the -a.serendipity wrote:Oh ok, does this work?jsc572 wrote:I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.serendipity wrote: You mean you have installed izarc and dont get those menus by default?
"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
openwith """C:\programs\izarc\izarc.exe"" -a test.zip-<curfolder> <items>"
I get the IZArc window with options to choose location etc, but when i click OK nothing happens. Are you sure IZArc command line works? btw try this yourself:jsc572 wrote:unfortunately, no. izarc doesn't recognize anything after the -a.serendipity wrote:Oh ok, does this work?jsc572 wrote:I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.serendipity wrote: You mean you have installed izarc and dont get those menus by default?
"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
openwith """C:\programs\izarc\izarc.exe"" -a test.zip-<curfolder> <items>"
Code: Select all
//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
Use <date>jsc572 wrote:yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
not sure I understand, where do I put <date> variable?jsc572 wrote:
//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?
Use <date>
I dont know the syntax, where do you normally put it? If its like in your original syntax:jsc572 wrote:not sure I understand, where do I put <date> variable?jsc572 wrote:
//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?
Use <date>
Code: Select all
"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>Code: Select all
//IZArc
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a test_<date yymmdd>.zip $items";
With the below modified script you can name your archive whatever you want:jsc572 wrote:Hi, thanks for your help on izarc, I tried out 7zip last night and found it to be more intuitive, especially with the 7zip script you posted on the other thread, my questions though, is how can I modify that script to open 7zip archive window with all the options? since I usually compress multiple files, it's not really practical to set the zip file name to <curbase>, I want to be able to choose a different name to use. thx.
Thanks for confirming that you bought a XY lifetime license (and quit DO). Here is the code:jsc572 wrote:you rock!
one more request though, I assume your script all zip/7z files with normal compression right? how about a script to call the native 7zip "add to archive..." window with all the options to change compression methods and etc...
Code: Select all
input $Archive, "Enter archive name", archive;
openwith """C:\Program files\7-Zip\7zG.exe"" a -ad $Archive"
oh yeh, I don't think I will look back to DO anytime soonserendipity wrote:Thanks for confirming that you bought a XY lifetime license (and quit DO). Here is the code:jsc572 wrote:you rock!
one more request though, I assume your script all zip/7z files with normal compression right? how about a script to call the native 7zip "add to archive..." window with all the options to change compression methods and etc...
I am glad you are enjoying XY.Code: Select all
input $Archive, "Enter archive name", archive; openwith """C:\Program files\7-Zip\7zG.exe"" a -ad $Archive"