Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Perl TK file from a Shortcut

Status
Not open for further replies.

clueo8

Programmer
Jun 13, 2005
47
US
I can't figure out how to execute a *.pl file from a windows shortcut (Active Perl installed). I have perl command line interpreter associated with *.pl files... When I double click on it, it just flashes a cmd prompt and does not run the application.
 
Might be more of a quick fix, but why not make your shortcut to "perl yourscript.pl" instead of just "yourscript.pl"?

Just a thought!

X
 
I tried that, It still acts the same...
 
try in a batch file script.bat

cmd /k "C:\pathToPerl\bin\perl.exe C:\PathToScript\yourscript.pl"




Michael Libeson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top