• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

help with file names in xp grrrr

Is there an easy way to make a file starting with a "." in xp? i'm making password files for Apache, and the generally accepted names are ".htpasswd",".htgroup", etc. When I create the password file with the apache exe, it forces the file name and xp allows it, but when I try to manually change the name of a new txt file, it wont allow it, saying "you need a filename!"...grrrrr....
 
Pain in the butt, isn't it? There are several ways to work around it:

1) Name the file htaccess.txt or something. Start/run/cmd to bring up a command line prompt. Change directories to the one with the file. Type ren htaccess.txt .htaccess (or whatever)

2) Name the file htaccess.txt or whatever. Use a batch script to rename it. Create a text file, add the line
ren htaccess.txt .htaccess (or whatever) and save the file as rename.bat. Run it.

3) Just leave the file name as htaccess.txt and rename it when uploaded to the server.

3) Use a real HTML editor. It'll override Windows stubbornness and allow you to save unix filesnames. I code in HomeSite and it'll save any filename directly without any other nonsense.

Odds are there's a Windows setting or an arcane registry entry somewhere that'll allow unix filenames, but I never went looking for it.
 
It has nothing to do with 'unix filenames', it has to do with the fact that Windows assumes a period is a sperator between the filename and the extension. As was stated, using other filemanagers or the command-line lets you create any filename you want. You can also change the apache configuration to use a filename other than .htaccess.
 
thanks for the help. i probably shoulda tried a prompt before posting hehe.

nothinman-yeah i could, but i like to follow conventions wherever possible. thanks for the help again guys 🙂
 
Back
Top