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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

batch / perl

Status
Not open for further replies.

NEVERSLEEP

Programmer
Apr 14, 2002
667
CA
in perl is there some variables like 'batch'
Code:
%windir%
?
if so can someone point me to some doc of available vars
thnka again ---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
Not sure what %windir% is but you could look a the %ENV hash and for a complete disposition on the standard predefined perl variables look at the perlvar documentation.
 
Code:
cd %windir%
example will change directory to the windows directory
could me c:/windows , c:/winnt etc...
i looked at perlvar but didn't find what i need

i could still just do a
Code:
if (-e) {} else {}
thanks anyway ---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top