Command Line
Does anyone know a command land command to list all directories (and files held within these directories) for a given share on a windows 2003 server? i.e.
\\localhost\data$ I want to see all sub-directories for the share and files (and file extensions) held within the directories of the share...
July 20th, 2010 1:34pm
Hi there,
Have you tried C:\>dir \\localhost\data$ /s
- hth
Marek.Z[url=http://defaultreasoning.wordpress.com/]Default Reasoning?[/url]
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2010 2:21pm
Thanks Marek, would I need permissions on the share to be able to run the report?
I've done it on a share whereby I have access, but on a share where I dont, it runs me an empty report...
July 20th, 2010 2:43pm
Yes, you probably will have to be logged in at least as a member of Power Users group or the Administrator. Did you run it locally or remotely?http://defaultreasoning.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2010 2:51pm
remotely... thanks anyway useful command to no...
July 20th, 2010 2:53pm


