in reply to Re^2: Perl - pattern matching
in thread Perl - pattern matching
when i execute the command $OVINSTDIR.'\bin\win64\opcmon.exe' i got error: 'C:\Program' is not recognized as an internal or external command, because variable $OVINSTDIR contains space (C:\Program Files\HP\HP BTO Software\) How can i manage this behavior ? Thanks, Fabriziochomp (my $OVINSTDIR = `echo %OvInstallDir%`); if(-e $OVINSTDIR.'\bin\win64\opcmon.exe'){ my $COMMAND = $OVINSTDIR.'\bin\win64\opcmon.ex +e'; $OPCMON="$COMMAND"; qx[$OPCMON]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl - pattern matching
by fabrizio_start_perl (Novice) on Apr 03, 2014 at 09:46 UTC |