The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
perl -write values in a file to @array in perl meghana Shell Programming and Scripting 12 07-17-2008 01:38 PM
[PERL] Running unix commands within Perl Scripts userix Shell Programming and Scripting 1 05-28-2008 03:06 PM
Calling a perl script from a perl script new2ss Shell Programming and Scripting 3 02-06-2007 08:17 PM
Perl: Run perl script in the current process vino Shell Programming and Scripting 10 12-09-2005 07:45 AM
Replace Perl Module name in all Perl scripts rahulrathod Shell Programming and Scripting 2 12-01-2005 10:00 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-18-2006
Registered User
 

Join Date: May 2006
Posts: 3
Perl

I am trying to setup Tivoli environment while the script running from a Perl script on a DOS box.

I am using the following command:
$cmd="c:\\WINNT\\system32\\drivers\\etc\\Tivoli\\setup_env.cmd";

It's not working.

Please advise!

Regards,
asabzevari
Reply With Quote
Forum Sponsor
  #2  
Old 05-18-2006
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,477
You need backticks ` ` to enclose the command you would like to execute, not double quotes.

Or use system().
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0