Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Windows Explorer will not allow to create a file like .htaccess (Apache configuration), .project (Eclipse project files) etc. Which file managers on Windows have support for file and folder names starting with dots?

share|improve this question
up vote 2 down vote accepted

Total commander enables you to make such files directly. You can create it in two ways

  • press Shift+F4, then write the name; in this case file will be created and opened in your default editor
  • r-click inside a folder and select New -> Text Document, then write the name; an empty file with the name you wrote will be created
share|improve this answer
+1. Total Commander is usually the answer when the question is "which file manager on windows can do X". – ThatGraemeGuy Feb 22 '10 at 7:16

You can create a new file that starts with a "." in Windows by using the command prompt.

Open a command prompt and type "copy con .htaccess" then hit enter.

You are now copying from the CONsole to the .htaccess file. Hit F6 (or ctrl-Z) and then enter to exit back to the prompt. You will then have an empty text file named .htaccess that you can manipulate in Explorer (etc.).

Also, you can also type in lines of text before you hit F6, and those will be added to the file once it's saved via F6/Ctrl-Z.

share|improve this answer

Windows Explorer can rename any file into one starting with a '.' - you just cannot create a file directly with such a name in Explorer.

share|improve this answer
not on XP it can't; you get an error dialog saying "You must type a filename". though if you have such a file via other means you can see and manipulate it with Explorer (move to other folders, cut/paste, etc). – quack quixote Feb 19 '10 at 15:04
Wow, every day I learn something new to disappoint me about Microsoft and their products. – PP. Feb 19 '10 at 16:38

I install Cygwin on any computer that I own that does not have *nix installed on it. This allows for things like what you want as well as a whole host of other functions.

share|improve this answer
this is what i use too, but the question asks for a file manager. Cygwin doesn't count, but it's mc (Midnight Commander) package probably does. – quack quixote Feb 19 '10 at 16:53
What do you mean 'coreutils' doesn't count as a file manager? Feel the wrath of ls!@# – grawity Feb 19 '10 at 20:23

Can you not create a new file in notepad and when you save it type (including the quotation marks)?


share|improve this answer
Yes you can, I know of methods to create or rename the dot files but I'm specifically interested in Windows file managers supporting this. – Borek Feb 19 '10 at 16:44

Far Manager allows creating files which start with .:

  1. Press Shift + F4,
  2. Type the file name, for example .htaccess.

A new editor with empty file will be opened, if the file does not exist.

Enter the text, and then save the file by pressing F2.
Far Editor does not save the file if you didn't enter text, as a workaround you can press Space and then Backspace: the editor will be marked as modified and save command will work creating an empty file.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .