http://www.perlmonks.org?node_id=397133


in reply to (Not Quite Perl) Running Scripts from Right-Click Context Menu in Windows

It work great on folders but, how can you get it to work on indivual files? I would like to link scripts to specific file types (.txt, .m3u, etc) so I can right-click and execute the command.
  • Comment on Re: (Not Quite Perl) Running Scripts from Right-Click Context Menu in Windows

Replies are listed 'Best First'.
Re^2: (Not Quite Perl) Running Scripts from Right-Click Context Menu in Windows
by five-ohm (Sexton) on Jul 15, 2005 at 20:46 UTC
    This is an old thread, but it came up when I searched for a possible solution for an issue I am having.

    What I do for AutoCAD dwg files (under windows xp) is go to Folder Options->File Types->DWG->Advanced->New

    Then in Action I put a description, like Print 11x17 and under Application used to perform action it would be:

    "c:\program files\autocad 2004\acad.exe" "%1" /nologo /b plot11x17.scr

    What it does may be irrelevant but it runs a script then closes. This means you can highlight many dwgs, right click and have 12 copies of autocad open, run a script, then close.

    This brings me to a question I have.