satyamunni has asked for the wisdom of the Perl Monks concerning the following question:
I have a scenario where, I have generated a perl script and I what to excute from a parent folder whose child has a space in its name.
Ex:
C:\Satya\903\Windows>Dir
Directory of C:\Satya\903\Windows
06/12/2011 15:59 <DIR> .
06/12/2011 15:59 <DIR> ..
06/12/2011 15:20 <DIR> fish food
0 File(s) 0 bytes
3 Dir(s) 433,473,777,664 bytes free
Now I have an Excutable(Genrated from perl) in folder "fish food" and I want to execute it from this location. some think like below
C:\Satya\903\Windows>"fish food\opx_CMB_GEN_903.exe"
Can't open fish: No such file or directory at -e line 1.
Can't open food\opx_CMB_GEN_903.exe: No such file or directory at -e line 1.
Can't open fish: No such file or directory at -e line 1.
Can't open food\opx_CMB_GEN_903.exe: No such file or directory at -e line 1.
Can't open fish: No such file or directory at -e line 1.
Can't open food\opx_CMB_GEN_903.pl: No such file or directory at -e line 1.
not found
I getting above error, Please help me how to deal with this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Space in Folder Name
by marto (Cardinal) on Dec 06, 2011 at 16:11 UTC | |
|
Re: Space in Folder Name
by JavaFan (Canon) on Dec 06, 2011 at 21:57 UTC | |
|
Re: Space in Folder Name
by keszler (Priest) on Dec 06, 2011 at 17:09 UTC | |
|
Re: Space in Folder Name
by TJPride (Pilgrim) on Dec 06, 2011 at 16:28 UTC | |
by satyamunni (Initiate) on Dec 06, 2011 at 17:13 UTC |