Sign in to follow this  
Followers 0
Him

"Right click" question

2 posts in this topic

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



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  
Followers 0