|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 152
Members: 0
Total: 152
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
How to run perl script from bat file in the same folder? |
|
Posted: Sun Jan 21, 2007 8:25 pm |
|
|
superninja |
Active user |
|
|
Joined: Jul 03, 2006 |
Posts: 38 |
|
|
|
|
|
|
|
I have folder which contain : run.bat and program.pl .What command must i write in the bat file to run the perl file.The bat file and pl are in ONE FOLDER.And the bat file must not be edited when folder is moved!
Oh and one more question.We have this
Code: |
$InfoWindow->add('Label', -text => 'Your name is '.$Name .$Nametwo, -font => '{Verdana} 8')->pack; |
I need to add some space between $Name and $Nametwo.How can i add it? |
|
|
|
|
|
|
|
|
Posted: Tue Jan 23, 2007 4:51 am |
|
|
shai-tan |
Valuable expert |
|
|
Joined: Feb 22, 2005 |
Posts: 477 |
|
|
|
|
|
|
|
If you ActivePerl for Windows installed just add:
Code: | perl perlfilename.pl |
To your batch file. As long as the current directory is where the the batch file and perl file reside. Its not you can add before the above line:
Code: | cd c:\path\to\perl\file |
or to the perl command to save the cd part:
Code: | perl c:\path\to\perl\file |
If you dont have activeperl if I remember from my Windows days you can get it at http://activestate.com |
|
_________________ Shai-tan
?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds |
|
|
|
www.waraxe.us Forum Index -> Perl
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|