PC Review


Reply
Thread Tools Rate Thread

How to add a context menu option for AVI files?

 
 
X
Guest
Posts: n/a
 
      10th Sep 2007
I'd like to add a right-click command to AVI files. The goal would be a
right-click command that would set the 'hidden' attribute of the file.
I need help in setting up the 'where' in the registry and wouldn't mind
input in how to phrase the command.


I'm guessing that 'attrib +h %1' would do the trick (I don't care if a CMD
window shows up for a split-second)

I've tried creating one at:
HKEY_CLASSES_ROOT\AVIFile\shell\hide\command
with a reg_expand_sz paralled from the nearby ones of:
attrib +H "%L"
Unfortunately, this doesn't even show up on a right-click menu.




My system is running Vista Ultimate, should it matter.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?QmVuLVppb24gSm9zZWxzb24=?=
Guest
Posts: n/a
 
      13th Sep 2007
Well, for a start you could try replacing:
attrib +H "%L"
by:
C:\WINNT\system32\cmd.exe /c attrib +H "%L"
or
C:\WINNT\system32\cmd.exe /c "attrib +H "%L""

and I am still not sure if that registry hack is the only one needed.

"X" wrote:

> I'd like to add a right-click command to AVI files. The goal would be a
> right-click command that would set the 'hidden' attribute of the file.
> I need help in setting up the 'where' in the registry and wouldn't mind
> input in how to phrase the command.
>
>
> I'm guessing that 'attrib +h %1' would do the trick (I don't care if a CMD
> window shows up for a split-second)
>
> I've tried creating one at:
> HKEY_CLASSES_ROOT\AVIFile\shell\hide\command
> with a reg_expand_sz paralled from the nearby ones of:
> attrib +H "%L"
> Unfortunately, this doesn't even show up on a right-click menu.
>
>
>
>
> My system is running Vista Ultimate, should it matter.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New option in RIGHT CLICK context menu (for files and folders) heweaver@gmail.com Windows XP General 4 8th Nov 2005 01:32 AM
Add option to context menu =?Utf-8?B?Sm9uYXRoYW5M?= Windows XP Customization 0 17th Mar 2005 10:33 PM
Context Menu Option Andre Da Costa [494805] Spyware Discussion 0 7th Jan 2005 09:22 PM
Offline Files Option in context menu greyed out =?Utf-8?B?Q29yZXkgTWFya292aXRz?= Microsoft Windows 2000 File System 0 26th Sep 2003 02:01 PM
No Play option in context menu Edwin Lindsay Windows XP Video 1 22nd Jul 2003 02:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:38 PM.