HTML File Editing with MSWord Creates Unwanted Folder

ParatoOptimal

Golden Member
Jan 27, 2004
1,094
2
81
I created an HTML file and saved it as such (a single file).
It always worked as is.
I created it with MSWord and saved it as a *.doc file and as a *.htm file.

I recently updated the html file.
Doing so created a FOLDER with the same name as the file BUT in the plural.
File = ReadMe.htm
Folder = ReadMe_files

Moving either one causes the other to be moved along with it.
I CAN delete the FOLDER.
However doing so causes an error when opening the FILE with MSWord.
When opening the file, MS Word looks for the folder and popsup an error message that the folder is not found.
The folder contains filelist.xml and header.htm.

How can I get back to having a single html file WITHOUT the folder?
Thanks
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
I believe it wants to store whatever graphics or dependent files the HTML references in that subfolder. If you look at the HTML it has probably rewritten the links to any dependent resources to point to that local file. In my experience Word will have pumped a ton of other crap into the doc as well.

You can hand edit it, or restore to a previous version. My advice is not to use Word to work on HTML files. Get a simple HTML/CSS aware editor like ScITE, or JEdit. If you're using word for the wysiwyg editing capabilty you can check out some free tools that are available. None will be as bad as Word, but all will generate crap to some extent.
 

ParatoOptimal

Golden Member
Jan 27, 2004
1,094
2
81
The funny thing is that it never did it before.

The file has NO links.

It's all text and MSWord's boarder and shading for title lines.

What's a good free editor and where can I find it?

Thanks
 

mulletgut

Senior member
Sep 3, 2002
254
0
0
Are you writing HTML in MSWord? Or are you creating a web page in MSWord. I believe there is a difference.
If you are creating a WYSIWYG page the of word will create a batch of files for the page so that it will display properly. If you are actually just coding html then the first question is why are you using word? And the second is why are you using word?
If you want to code html with a great free editor, then use Notepad++
as for a WYSIWYG editor for free, I can't help you as I use Dreamweaver which cost $$.

As an aside, saving a publisher or word page which has images embedded as a html document is a good way of extracting the image files.
 

ParatoOptimal

Golden Member
Jan 27, 2004
1,094
2
81
I figured it out.

It seems that the problem lies in how you save the file.

The file is ReadMe.htm that I created with MSWord and saved to a disc image ISO file.

There is no ReadMe_files folder on the disc image.

The file is ALL TEXT except for some coloring of page lines to set them off as catagory headings and some of MSWord's bullet graphics.


PROBLEM
I can open the file from the disc by double clicking it and it opens just fine in my browser.

If I open the file in MSWord, MSWord errors that the ReadMe_files folder can't be found.
Click OK and the file DOES open in MSWORD.

If I drag the file to my Desktop and open it with MSWord, MSWord errors that the ReadMe_files folder can't be found.
Click OK and the file DOES open in MSWORD.

If I SAVE the file to my Desktop, it creates a ReadMe_files folder to my Desktop.

If I SAVE AS and select HTML as the file type, it creates a ReadMe_files folder to my Desktop.


SOLUTION
If I SAVE AS WEBPAGE, all is well.


Thank you all for your help.
 

ParatoOptimal

Golden Member
Jan 27, 2004
1,094
2
81
Originally posted by: mulletgut
Are you writing HTML in MSWord? Or are you creating a web page in MSWord. I believe there is a difference.
If you are creating a WYSIWYG page the of word will create a batch of files for the page so that it will display properly. If you are actually just coding html then the first question is why are you using word? And the second is why are you using word?
If you want to code html with a great free editor, then use Notepad++
as for a WYSIWYG editor for free, I can't help you as I use Dreamweaver which cost $$.

As an aside, saving a publisher or word page which has images embedded as a html document is a good way of extracting the image files.


Thanks for the link. I'll checkout Notepad++.
I have an old version of Dreamweaver I got years ago but never used.
Does it include a tutorial?