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.
In reply to Re: facing problem in escaping space in file path No such file or folder
by Jenda
in thread facing problem in escaping space in file path No such file or folder
by NaveeN Kumar S
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |