I'm on a Windows 7 machine and need to create a new folder whose name starts with a dot. To be specific, I need to create the folder "C:\USERS\theusername\.ec2" because that is the default location that the AWS plugin for Eclipse likes to find certain configuration files.

Windows 7 gives me an error message whenever I try to create a folder that starts with a dot:

You must type a filename

Seriously? There are already subfolders in this folder that start with a dot!

How can I tell Windows 7 to just shut up and create my folder?

link|improve this question
feedback

migrated from stackoverflow.com Sep 5 '11 at 0:46

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 4 down vote accepted
  1. From the folder above the parent for the new folder, shift-right click on the parent, choose "Open command prompt here".

  2. Type mkdir .ec2 (enter)

  3. Close the command prompt

link|improve this answer
This is what I have been doing but it just seemed wrong. At least now I know I'm not crazy. – Jim Tough Sep 5 '11 at 0:48
feedback

The only solution to this is:

  1. Start > Run > cmd > OK
  2. Enter:

    mkdir .yourfoldername
    
link|improve this answer
feedback

Use the command line. Hold shift and right click in the directory you'd like to create a subdirectory in. Choose the "Open Command Prompt here" (or something like that) item. In it, type:

md .ec2
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.