Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 28, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 715
Members: 0
Total: 715
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Perl -> How to run perl script from bat file in the same folder?
Post new topic  Reply to topic View previous topic :: View next topic 
How to run perl script from bat file in the same folder?
PostPosted: Sun Jan 21, 2007 8:25 pm Reply with quote
superninja
Active user
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?
View user's profile Send private message
PostPosted: Tue Jan 23, 2007 4:51 am Reply with quote
shai-tan
Valuable expert
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
View user's profile Send private message
How to run perl script from bat file in the same folder?
  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  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.166 Seconds