that way, you don't need to drag your script to the perl2exe folder, and you can use it from anywhere. It's easier to just unzip the p2x-10.10-Win32.zip file directly to C:\perl2exe.
You can just add C:\perl2exe to your path, and then use the utility from any directory by typing "perl2exe yourScript.pl", and it will convert it. You need to have Perl 5.12.2 or older though, or else it won't work...as of right now, but that's pretty recent. To add to path, you go to control panel->system->advanced->environment variables, and then under the "system" category, go to the one labeled "Path", and hit the "edit" button. Scroll all the way to the right, add a colon, and "C:\perl2exe"
that way, you don't need to drag your script to the perl2exe folder, and you can use it from anywhere. It's easier to just unzip the p2x-10.10-Win32.zip file directly to C:\perl2exe.
JSalazar1204 9 months ago
You can just add C:\perl2exe to your path, and then use the utility from any directory by typing "perl2exe yourScript.pl", and it will convert it. You need to have Perl 5.12.2 or older though, or else it won't work...as of right now, but that's pretty recent. To add to path, you go to control panel->system->advanced->environment variables, and then under the "system" category, go to the one labeled "Path", and hit the "edit" button. Scroll all the way to the right, add a colon, and "C:\perl2exe"
JSalazar1204 9 months ago
when the programm ends, cmd will be closed.
first open cmd with start -> run. type "cmd" and hit enter. .. then cd to the folden and exec your programm. then u can see the output .. :)
or add sleep(3) xDD
but the way with start -> run -> cmd is better ;)
IIPhaseII in reply to DARKlilution (Show the comment) 2 years ago
ok,when i open my perl script it just opens a cmd for one second why
DARKlilution 3 years ago
tanx.. (",)b
xaqom1211 3 years ago
najs
Zuuzou33 3 years ago
Hey good job!
this helped a lot!
nieseldiesel 3 years ago