Jump to content
Sign in to follow this  
Him

"Right click" question

Recommended Posts

Him

Hi, I have written a script that encrypts text files. I'd like to make the explorer show (to the right click menu) a shortcut to my script when I right click a .txt file.

Is this possible?


[size="1"][font="Tahoma"]On the internet, nobody knows you're a dog.[/font][/size]

Share this post


Link to post
Share on other sites
Danny35d

RegWrite('HKEY_CLASSES_ROOT\Folder\Shell\Encrypts Text \Command', '', 'REG_SZ', @WindowsDir & @ScriptName & '%1"')

1) Be sure you script use $CmdLine

2) You need to create registry key:

HKEY_CLASSES_ROOT\*\Shell\Encrypts Text \Command', '', 'REG_SZ', @ScriptNameFull & ' "%1"')


AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.