View Single Post
  #1 (permalink)  
Old 10-03-2009
ROD DAV4IS
 

Posts: n/a
dir command vis-a-vis hidden files
Does DIR normally display hidden files?

On my system it does, regardless of the setting in folder options. I have to use the /a-h option to stop that behavior.

This seems different from what I remember on my old XP system, and seems to contradict the explanation of the DIR command, which says to use the /ah option to display hidden files.

I tried to set the DIRCMD environment variable to negate this behavior and that works -- except that the application that I am trying to port to Vista uses the /a-d option, which cancels my DIRCMD setting.

Using Vista Home Premium w/SP2

EggHeadCafe - Software Developer Portal of Choice
Managed Speech API in Windows Vista / .NET 3.0
http://www.eggheadcafe.com/tutorials...pi-in-win.aspx
Reply With Quote
Sponsored Links