dos file name prefixed by !

June 25, 2011 at 17:54:26
Specs: Windows Vista
I executed the dos command dir /w /s /n

and I found a directory prefixed by a '.' (dot). I know that in UNIX files prefixed by '.' are not displayed using the ls command without the -a switch but what command in dos will display the directory, or what option in windows explorer shows the directory? Also there are a lot of files in the . directory that are prefixed by "!" (Exclamation mark). What are they because there are a lot of them.

See More: dos file name prefixed by !

Report •

June 25, 2011 at 18:21:54
Most generally in cmd or DOS, a single dot represents the path to the parent directory. Two dots represent path to root directory. try using the dir command with a single dot following, and then with the double dot.

Not sure about the exclamation point.

Report •

June 25, 2011 at 21:59:40
You have no DOS Commands, it is NT Command Prompt and has been since NT3.x:

Report •

June 26, 2011 at 11:38:40
CloudCentric: A rose would smell as sweet by any other name, or something like that. When I first wrote the dir command in the 80's, it was a dos command. If you want to call it an NT command today, ok, it does the same thing. But your answer doesn't illuminate the question.

The directory name is not '.', but it is "somelongpath/.organizer". I can see the contents of the somelongpath component, but the ".organizer" is not visible in DOS or Windows Explorer. I was able to delete the '!' files inside the ".organizer" directory by coding a "del '!*.*' /s". I am still curious how to show/display/print/list the contents of a dot prefixed directory name using a dos/NT dir command. Never mind, I just figured it out. "dir /s /r /w *.*" It will give me more than I want, but hey ...

Report •

Related Solutions

Ask Question