Home » Questions » Computers [ Ask a new question ]

How do I add a userscript to the Context (right click) menu in WinXP Explorer?

How do I add a userscript to the Context (right click) menu in WinXP Explorer?

I have a very basic script, that looks something like

Asked by: Guest | Views: 309
Total answers/comments: 1
bert [Entry]

"You can add items for a specific file type by selecting Tools -> Folder Options -> File Types -> Advanced and adding a new action.

If I look at the ""open"" entry for a .txt file I see ""C:\WINDOWS\system32\NOTEPAD.EXE %1""; the ""%1"" passes the name of the file into the program script and can be accessed in your script by using the ""%1"" variable name rather than ""INFILE"". You would then have to do a wee bit of string manipulation to create your OUTFILE name - I seem to remember looking for the last ""\"" and deleting from that point in the past."