Title: Running a command and using / for a switch option

Hi,
I am currently trying to port a batch file to perl.

the code in question is similar to the following:

        `"C:\\Program Files\\SomeProgram\\program.exe" "C:\\Program Files\\SomeProgram\\template.CHF /C $SystemName"`;

Everything works but the /C switch, I have tried every combination of \\/ // /// \/ to escape the /C but no success.
The backticks call the program but the /C switch that tells the application to substitute the var $SystemName fails.
I am fairly new to Perl so if this is a simple problem please excuse my lack of skill. This is driving me nuts so any help will be appreciated.

Wayne E. Oliver
System Administrator
AETC GCCS C4 Systems
DSN 487-7678
Comm: (210) 652-7678

Reply via email to