Skip to content

Add Perl Script to Explorer Right Click Context

1. Create a Key in HKEY_CLASSES_ROOT\*\shell\

2. Create a Key called “command” under that key
E.G. HKEY_CLASSES_ROOT\*\shell\TV Move\command

3. Edit the (Default) under command to:
cmd.exe /c perl “%1”

this assumes that “perl” is in your path and can be a full path such as c:\perl\

This will pass the file’s full path such as “C:\Download\RandomDownload.exe” as $ARGV[0]

Published inTech

Comments are closed.