1
i'm trying to create custom commands on the context menu in windows.
i found this great registry hack here: https://superuser.com/a/376879/395548
this is the code made to work for me:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\RarMe]
@="Rar Here"
[HKEY_CLASSES_ROOT\*\shell\RarMe\command]
@="\"C:\\Winrar\\Winrar.exe\" a -cpSuperExe -ep1 -r -y \"%1\" \"%1\\*.*\""
this works beautifully but not for files, only for folders.
whatever syntax editing i try, on files i get nothing - or errors.
(it's such a clean solution!)
Thanks Max
hi, thanks for answering, i already tried, did it on '*'. but no results. – Max Coppoletta – 2014-12-03T10:00:04.447
Ah, my apologies. Might be worth adding that to your question. – Jeeva – 2014-12-03T10:05:46.350
Thanks. Just to check- do you get the entry added to the context menu, and then it silently fails, or is it not adding the option? – Jeeva – 2014-12-03T10:10:16.213
yes, the menu is fine, on running you will only see a prompt flash. nothing else. – Max Coppoletta – 2014-12-03T10:13:58.747
Are you selecting a single file, or multiple? Just looking at the last line, looks like you might be trying to select all files within the "file" (trying as a folder). But just checking what the last portion of the command is doing ("%1\."). – Jeeva – 2014-12-03T10:15:15.767
I'm embarrassed to say that I don't have a copy of WinRar installed here, but the changes made to the answer should help. – Jeeva – 2014-12-03T10:23:03.413
ideally any number of files. a lot of the complex stuff can be handled by winrar profiles (ie, rar each file individually), so i though just pointing the file to that profile command would be enough. – Max Coppoletta – 2014-12-03T10:24:56.787