welle has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks
It's a trivial question that was already discussed in the past...but unfortunatelly I am not able to make it work. I just want to open in Windows a folder knowing the path and its name. I usually do it with system("start $dir_to_open"). This just works fine exept if the folder name has spaces. I've tried with:
$folder_name="AA BB";system("start $dir_to_open");
Windows just prompts an error message (path not found). What I am doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MS system open file with space
by BrowserUk (Patriarch) on Feb 20, 2013 at 19:14 UTC | |
|
Re: MS system open file with space
by SuicideJunkie (Vicar) on Feb 20, 2013 at 19:17 UTC | |
by BrowserUk (Patriarch) on Feb 20, 2013 at 20:23 UTC | |
|
Re: MS system open file with space
by Dallaylaen (Chaplain) on Feb 21, 2013 at 07:12 UTC | |
by BillKSmith (Monsignor) on Feb 21, 2013 at 13:54 UTC |