Thread View: demon.ip.support.win95
4 messages
4 total messages
Started by E. J. Jewell
Thu, 18 Oct 2001 09:09
Pathname problem when opening . DOC document from Windows Explorer
Author: E. J. Jewell
Date: Thu, 18 Oct 2001 09:09
Date: Thu, 18 Oct 2001 09:09
28 lines
1918 bytes
1918 bytes
I have a file C:\My Documents\nps\novcat01.doc If I fire up MS Word and then open the document, it opens OK. If I double click novcat01.doc in Windows Explorer, MS Word opens and I get a message: "The document name or path is invalid. Try one of more of the following: * On the file menu click open to open the document. * Make sure the file has a .DOC extension. (C:MY.DOC)" When I OK this I get: "The document name or path is invalid. Try one or more of the following * Check the path name to make sure it was typed correctly. * On the file menu click Open. Search for the file using this dialogue box. (DOCUMENTS\NPS\NOVCAT01.DOC)" Why is Windows Explorer breaking the path at the space in "My Documents"? Any fix for this? -- E. J. Jewell <mailto:ejewell@free.fr> <URL:http://apsc.free.fr/> Andorran Philatelic Study Circle
Re: Pathname problem when opening . DOC document from Windows Explorer
Author: Paul Terry
Date: Thu, 18 Oct 2001 19:50
Date: Thu, 18 Oct 2001 19:50
43 lines
2591 bytes
2591 bytes
In message <ylUom2l7wpz7EwYO@ejewell.free.fr>, E. J. Jewell
<NewsFrom@chy-an-piran.demon.co.uk> writes
>I have a file C:\My Documents\nps\novcat01.doc
>
>If I fire up MS Word and then open the document, it opens OK.
>
>If I double click novcat01.doc in Windows Explorer, MS Word opens and I
>get a message:
>
>"The document name or path is invalid.
>Try one of more of the following:
>* On the file menu click open to open the document.
>* Make sure the file has a .DOC extension.
>(C:MY.DOC)"
>
>When I OK this I get:
>
>"The document name or path is invalid.
>Try one or more of the following
>* Check the path name to make sure it was typed correctly.
>* On the file menu click Open. Search for the file using this dialogue
>box.
>(DOCUMENTS\NPS\NOVCAT01.DOC)"
>
>Why is Windows Explorer breaking the path at the space in "My
>Documents"? Any fix for this?
Probably an error in the Windows file association for files with a "doc"
extension. Missing quotes are often the cause of a file path with a
space breaking. Here I have the Open command using DDE with quotes
around the FileOpen command, thus:
[REM _DDE_Direct][FileOpen("%1")]
Having said that, this is not really the best newsgroup in which to ask
questions of this sort: demon.ip.support.* means questions about
connecting to Demon Internet (in the case of this particular newsgroup,
connecting to Demon with Win95) rather than more general Windows
questions.
--
Paul Terry
Re: Pathname problem when opening . DOC document from Windows Explorer
Author: Denis Mcmahon
Date: Mon, 22 Oct 2001 18:27
Date: Mon, 22 Oct 2001 18:27
45 lines
2552 bytes
2552 bytes
"E. J. Jewell" <NewsFrom@chy-an-piran.demon.co.uk> wrote: >I have a file C:\My Documents\nps\novcat01.doc > >If I fire up MS Word and then open the document, it opens OK. > >If I double click novcat01.doc in Windows Explorer, MS Word opens and I >get a message: > >"The document name or path is invalid. >Try one of more of the following: >* On the file menu click open to open the document. >* Make sure the file has a .DOC extension. >(C:MY.DOC)" > >When I OK this I get: > >"The document name or path is invalid. >Try one or more of the following >* Check the path name to make sure it was typed correctly. >* On the file menu click Open. Search for the file using this dialogue >box. >(DOCUMENTS\NPS\NOVCAT01.DOC)" > >Why is Windows Explorer breaking the path at the space in "My >Documents"? Any fix for this? Something has upset the default asociations for the .doc file type and forgotten to use quotes round the %1 parameter. This is often caused by an installation that updates dde etc settings afair. Try editing the doc filetype in the windows explorer filetypes menu and putting double quotes round the %1 in the command for open. Or, re-install microsoft word / office. Rgds Denis -- Denis McMahon / +44 7802 468949 / denis@pickaxe.demon.co.uk Entry conditions for killfile include top-post, advert, bin I block the [a.b.*.*] of any UC/BE relay. Usenet posts > 100 lines are not retrieved.
Re: Pathname problem when opening . DOC document from Windows Explorer
Author: E. J. Jewell
Date: Tue, 23 Oct 2001 21:35
Date: Tue, 23 Oct 2001 21:35
27 lines
2219 bytes
2219 bytes
In message <soo8ttg35g5b1e0kfojl2lf31g32n9idja@4ax.com>, Denis Mcmahon <denisf@pickaxe.demon.co.uk> writes > >Something has upset the default asociations for the .doc file type and >forgotten to use quotes round the %1 parameter. > The "something" is almost certainly me. ;-) Your mention of quotes below I think is the clue I need. Until recently the association was pointing to wordpad. I changed the association because I wanted the documents to open in winword. Clearly I must have a mess of changing the association. >This is often caused by an installation that updates dde etc settings >afair. > >Try editing the doc filetype in the windows explorer filetypes menu >and putting double quotes round the %1 in the command for open. > I'll do that. Fingers crossed that it will work. Later: Yes, that's fixed it. I had just given the path to winword without the "%1". Many thanks for giving me the vital clue. -- E. J. Jewell <mailto:ejewell@free.fr> <URL:http://apsc.free.fr/> Andorran Philatelic Study Circle
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads