in reply to facing problem in escaping space in file path No such file or folder
When the script doesn't work as you think it should, it's usually helpful to print the contents of some variables to see whether they contain the data you think they do!
$unInstallExepath= "c:\program files\netbeans 7.0\uninstall.exe"; print $unInstallExepath, "\n";
Does this print what you thought it will? Try to find out why!
Then try to print what you pass to the chdir() function:
print '$path', "\n";
Again not what you seem to expect. Remember, the quotes matter!
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: facing problem in escaping space in file path No such file or folder
by Anonymous Monk on Jun 22, 2011 at 12:02 UTC |