Jump to content
Sign in to follow this  

Right Click to File

Recommended Posts


I am writting a script for converting latin to greek characters.

I want when I right click a text file in the expolrer to

have a contextmenu item "Convert to greek" and when I click it

to open the selected file in my script.

Could someone help me with this please? Thanks


Share this post

Link to post
Share on other sites


RegWrite("HKCR\txtfile\shell\Convert to greek\command", "", "REG_SZ", '"' & @ProgramFilesDir & "\My programs\program.exe " & '"%1"')

Edit: in your script you need to check $CmdLine array to obtain path to txt-file.

Edited by rasim

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.