Skip to content

Add Perl Script to Explorer Right Click Context

1. Create a Key in HKEY_CLASSES_ROOT*shell
E.G. HKEY_CLASSES_ROOT*shellTV Move

2. Create a Key called “command” under that key
E.G. HKEY_CLASSES_ROOT*shellTV Movecommand

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

this assumes that “perl” is in your path and script.pl can be a full path such as c:perltvmove.pl

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

Published inTech

Comments are closed.