Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word cannot open files with space in name

Status
Not open for further replies.
Aug 13, 1999
15
US
I have a problem with MS Word from Office 97 SP1. It doesn't like having files with spaces in the filename. Let's say the filename is &quot;this is the doc.doc&quot;. When you double click on the file, it says Word cannot open the file &quot;this.doc&quot;. You can click on the OK button, and it goes onto say word cannot open the file &quot;is.doc&quot;. And so on. After it gets through the whole thing, it finally opens the document with no problem.<br>
<br>
Is there a fix for this? Our coporate standard is SP1, so I can't apply SP2.<br>
<br>
Thanks<br>
Paul
 
That's a strange one. While waiting for the proper Office 97 answer you might try renaming the DOCs without the spaces, eg. &quot;this is the doc.doc&quot; becomes &quot;thisdoc1.doc&quot;.<br>
<br>
Hmmm... I think I see a problem with the &quot; doc.doc&quot; part. Do you see it too?
 
The file open routine should parse tha name backward from the final &quot;doc&quot; so even &quot;doc.doc&quot; theoretically shouodn't be a problem.<br>
<br>
Browsing to a file should eliminate any of these kinds of problems. <br>
<br>
Are you double-clicking the file in Explorer or in Word's File,Open dialog? Whichever one you're doing, try the other.<br>
<br>
<br>
Also, just for the hell of it, In Word, try browsing to the folder containing the file then typing in the file name enclosed in double quotes. (Just a test to see what an alternate method of feeding it the name does.) <p> Jeff<br><a href=mailto: masterracker@hotmail.com> masterracker@hotmail.com</a><br><a href= > </a><br>
 
It only seems to happen through Explorer. I can open the document fine from Word. I should also mention that I just tried opening the same document from the Start Documents folder and had the same problem. It doesn't seem to matter if the document is local or on the network either.<br>
<br>
Maybe it is an explorer issue. MS Tech Net says there are problems 'saving' a document with spaces in the name. the solution for that is to apply SP2. <br>
<br>
Paul
 
If it's happening through Explorer I would guess it's an OS issue. What OS are you using? If it's NT I would suggest SP4 at the very least. <p> Jeff<br><a href=mailto: masterracker@hotmail.com> masterracker@hotmail.com</a><br><a href= > </a><br>
 
I've had that happen on NT and W95.<br>
Here's the fix. I've used it successfully several times.<br>
<br>
Place &quot;%1&quot; (without the quotation marks) on the end of the command line for the association with the specific document type. Follow these steps:<br>
<br>
From My Computer, View, Options, select the File Types tab.<br>
<br>
In the Registered File Types box, select edit for the file type.(Word Document)In the Actions box, click Open, then Edit. In the Application Used To Perform Action box, add a space, and then add<br>
&quot;%1&quot; (without the quotation marks) to the end of the line.<br>
<br>
Click ok then close.<br>
<br>
Carol<br>
<br>

 
OOPs!<br>
I goofed. The &quot;%1&quot; should be WITH the quotation marks!!<br>
sorry about that.<br>
Carol
 
I'll give it a try on Monday. Just got back from blowing up a router. Wan team decided to try out new firmware. Dirty rotten Wan team.<br>
<br>
Thanks<br>
<br>
Paul<br>

 
Carol's fix should work in Word. The same fix works for Excel files, but for Excel, first try going to Tools-Options-General tab and make sure that &quot;ignore other applications&quot; is NOT checked.<br>
<br>
I post this for people that might be &quot;listening in.&quot; Good luck, Paul!
 
I am having a similar problem with word. When I try to open it using file, open I get the cannot open file problem as mentioned above. If I run it from explorer it will open the file but I cannot save it.

I haven't experienced this with excel or access files so the problem seems to be purely word located.

I have checked for the &quot;%1&quot; and found it in the DDE message shown below. Is this DDE Setting OK?

DDE Message
[REM _DDE_Direct][FileOpen(&quot;%1&quot;)]


I am using Windows 95 on with Novell Netware.

 
Try re-registering Words Registry settings. From the run line, type &quot;winword.exe /regserver&quot; This will clear it up. Good Luck

..PS..Thats without the quotes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top