- Can't start an app in "program files" subfolder from a DOS Prompt.
- Posted by nee on November 9th, 2005
It appears that on Win2K and WinXP I can no longer start an app from a DOS
prompt in a folder that has whitespaces in the name, e.g., "Program Files".
Does anyone know of a way around this? Using the Windows GUI
("Start"/"Run"/...) isn't an option for me in this particular case.
Thanks
- Posted by Martmcd on November 9th, 2005
you could try using the shortname (8.3 format) of the file or folder
i will no doubt be corrected here but its normally its the first six
characters (ignoring spaces) then tilde (~) then a number the number depends
on how many files start with the same six characters.
program files is progra~1, my documents is mydocu~1
hope that helps,
Martin
"nee" <nee@discussions.microsoft.com> wrote in message
news:358DDEDD-6AB7-46C8-A994-5535E341B7FB@microsoft.com...
> It appears that on Win2K and WinXP I can no longer start an app from a DOS
> prompt in a folder that has whitespaces in the name, e.g., "Program
> Files".
> Does anyone know of a way around this? Using the Windows GUI
> ("Start"/"Run"/...) isn't an option for me in this particular case.
>
> Thanks
>
- Posted by Sharon F on November 9th, 2005
On Wed, 9 Nov 2005 09:30:02 -0800, nee wrote:
> It appears that on Win2K and WinXP I can no longer start an app from a DOS
> prompt in a folder that has whitespaces in the name, e.g., "Program Files".
> Does anyone know of a way around this? Using the Windows GUI
> ("Start"/"Run"/...) isn't an option for me in this particular case.
>
> Thanks
Place quotes around any path with spaces. Example:
Change
C:\Program Files\some program
lo
"C:\Program Files\some program"
--
Sharon F
MS-MVP ~ Windows Shell/User
- Posted by Martmcd on November 9th, 2005
Sharon F, of course! that's why you're an MVP
Martin
"Sharon F" <sharonfDEL@ETEmvps.org> wrote in message
news:OI6H2dV5FHA.2396@TK2MSFTNGP14.phx.gbl...
> On Wed, 9 Nov 2005 09:30:02 -0800, nee wrote:
>
>> It appears that on Win2K and WinXP I can no longer start an app from a
>> DOS
>> prompt in a folder that has whitespaces in the name, e.g., "Program
>> Files".
>> Does anyone know of a way around this? Using the Windows GUI
>> ("Start"/"Run"/...) isn't an option for me in this particular case.
>>
>> Thanks
>
> Place quotes around any path with spaces. Example:
> Change
> C:\Program Files\some program
> lo
> "C:\Program Files\some program"
>
> --
> Sharon F
> MS-MVP ~ Windows Shell/User
- Posted by Sharon F on November 9th, 2005
On Wed, 9 Nov 2005 19:04:09 -0000, Martmcd wrote:
> Sharon F, of course! that's why you're an MVP
> Martin
>
Maybe
As far as this question goes, I'm lazy and find it easier to type
quote marks than to wrap my head around 8.3 names. 
--
Sharon F
MS-MVP ~ Windows Shell/User
- Posted by nee on November 9th, 2005
Oh Sharon - THANK YOU SOOOOO MUCH -- that was it. YIPPIE
"Sharon F" wrote:
> On Wed, 9 Nov 2005 09:30:02 -0800, nee wrote:
>
> > It appears that on Win2K and WinXP I can no longer start an app from a DOS
> > prompt in a folder that has whitespaces in the name, e.g., "Program Files".
> > Does anyone know of a way around this? Using the Windows GUI
> > ("Start"/"Run"/...) isn't an option for me in this particular case.
> >
> > Thanks
>
> Place quotes around any path with spaces. Example:
> Change
> C:\Program Files\some program
> lo
> "C:\Program Files\some program"
>
> --
> Sharon F
> MS-MVP ~ Windows Shell/User
>
- Posted by Martmcd on November 15th, 2005
David,
I don't know your email address!
First? I didn't realise it was a race.
If i have set this up incorrectly so that it causes you, or others, offence
or problems then please tell me what it is so that i can fix it.
Martin
"David Candy" <.> wrote in message
news:ey5uNXX6FHA.2816@tk2msftngp13.phx.gbl...
Stop using my email address. I was first. I'm sick of seeing you in the list
of groups.
--
--------------------------------------------------------------------------------------------------
Read David defending the concept of violence.
http://margokingston.typepad.com/har...e_ga.html#more
=================================================
"Martmcd" <.> wrote in message news:uaU8bBW5FHA.3384@TK2MSFTNGP11.phx.gbl...
> Sharon F, of course! that's why you're an MVP
> Martin
>
> "Sharon F" <sharonfDEL@ETEmvps.org> wrote in message
> news:OI6H2dV5FHA.2396@TK2MSFTNGP14.phx.gbl...
>> On Wed, 9 Nov 2005 09:30:02 -0800, nee wrote:
>>
>>> It appears that on Win2K and WinXP I can no longer start an app from a
>>> DOS
>>> prompt in a folder that has whitespaces in the name, e.g., "Program
>>> Files".
>>> Does anyone know of a way around this? Using the Windows GUI
>>> ("Start"/"Run"/...) isn't an option for me in this particular case.
>>>
>>> Thanks
>>
>> Place quotes around any path with spaces. Example:
>> Change
>> C:\Program Files\some program
>> lo
>> "C:\Program Files\some program"
>>
>> --
>> Sharon F
>> MS-MVP ~ Windows Shell/User
>
>
- Posted by David Candy on November 16th, 2005
It is .
I expect to see my threads not yours. I was first to use it here.
--
--------------------------------------------------------------------------------------------------
Read David defending the concept of violence.
http://margokingston.typepad.com/har...e_ga.html#more
=================================================
"Martmcd" <.> wrote in message news:%23ABgnUd6FHA.1000@tk2msftngp13.phx.gbl...
> David,
> I don't know your email address!
> First? I didn't realise it was a race.
>
> If i have set this up incorrectly so that it causes you, or others, offence
> or problems then please tell me what it is so that i can fix it.
>
> Martin
>
> "David Candy" <.> wrote in message
> news:ey5uNXX6FHA.2816@tk2msftngp13.phx.gbl...
> Stop using my email address. I was first. I'm sick of seeing you in the list
> of groups.
>
> --
> --------------------------------------------------------------------------------------------------
> Read David defending the concept of violence.
> http://margokingston.typepad.com/har...e_ga.html#more
> =================================================
> "Martmcd" <.> wrote in message news:uaU8bBW5FHA.3384@TK2MSFTNGP11.phx.gbl...
>> Sharon F, of course! that's why you're an MVP
>> Martin
>>
>> "Sharon F" <sharonfDEL@ETEmvps.org> wrote in message
>> news:OI6H2dV5FHA.2396@TK2MSFTNGP14.phx.gbl...
>>> On Wed, 9 Nov 2005 09:30:02 -0800, nee wrote:
>>>
>>>> It appears that on Win2K and WinXP I can no longer start an app from a
>>>> DOS
>>>> prompt in a folder that has whitespaces in the name, e.g., "Program
>>>> Files".
>>>> Does anyone know of a way around this? Using the Windows GUI
>>>> ("Start"/"Run"/...) isn't an option for me in this particular case.
>>>>
>>>> Thanks
>>>
>>> Place quotes around any path with spaces. Example:
>>> Change
>>> C:\Program Files\some program
>>> lo
>>> "C:\Program Files\some program"
>>>
>>> --
>>> Sharon F
>>> MS-MVP ~ Windows Shell/User
>>
>>
>
>