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 danielledunham on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no filename extension in dreamweaver?

Status
Not open for further replies.

shadedecho

Programmer
Joined
Oct 4, 2002
Messages
336
Location
US
i am in need of a way to work with files in dreamweaver which do not have any filename extension. we have about 1500 files on our site, about 75% of which do not have extensions.

Because of cvs and file-locking and other such reasons, it is not an option to run a batch file to rename the files everytime we open them or whatever.

i do know how to modify the configuration files to allow custom extensions. However, there appears no way to do a non-extension configuration, at least from what i see...

I am wondering if this needs to be some sort of special dreamweaver "extension" module written to give this functionality.

There are tons of sites out there which work with all non-extension files, because then they can hide to the web user what type of scripting they employ. SURELY enough of them also use dreamweaver that there has to be a way.

Does anyone know any actual way to do this?
 
about 75% of which do not have extensions

I may be missing something here but how would a server or a browser know what to do with a file that has no extension?

There are tons of sites out there which work with all non-extension files

Where?

Cheech

[Peace][Pipe]
 
u could do some "URL rewriting"...or use name based subdomains.....but whats the point...I could care less if u use .html .htm .cfm .asp.....if done right all it gives me is your design & technology preference....
again, it is not the tool...it is the product!
All the best!

> need more info?
:: don't click HERE ::
 
Most of our files that don't have extensions are HTML only files that the marketing department manages. These files are included into other php files, so their extension (or lack thereof) is irrelevant.

But the point is not that I want a file to display in a browser without an extension. The point is that I want to be able to modify files in dreamweaver that do not have extensions (for whatever reason we've chosen) without having to go through the hoops of renaming it, opening it, saving it, and renaming it again. I want to be able to open up a file in dreamweaver that has no extension. And it's fine if its just treated as a plain text file (I don't need syntax highlighting or anything else fancy like that).
 
File associations are OS dependant. You will not be able to accomplish this if you are running DW on any Windows version, Linux\Unix may be possible.
Mac OS is the only one I can say for sure it should work on, as I do know that it does not have to use the extension to identify the file type, using information contained in the file headers instead.


Chris.

Indifference will be the downfall of mankind, but who cares?
 
Well, let me say this... The files reside on a unix machine. and you certainly can have files on unix that do not have extensions.

Dreamweaver is installed on a windows machine, and uses built-in FTP to communicate to the file-system for the webserver (unix based).

The problem is not that windows requires a file association to open a file when you are inside of dreamweaver. as a matter of fact, files can be opened forcibly in dreamweaver that do not have extensions, but not through the normal process.

The message we get when we try to open a non-extension file in windows is "No editor could be found for this file".

Using that information, I decided to go into preferences in dreamweaver and enter "." for an extension in the files/editors screen. and I choose "dreamweaver.exe" as the editor. And boom, it works.

So, I guess I answered my own question! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top