I know its the wrong place but is there a DOS section
What I am trying to do is get a list of drives
e.g
fsutil fsinfo drives
which returns
Drives: A:\ C:\ D:\ F:\ H:\ K:\ L:\ M:\ N:\ O:\ P:\ Q:\ T:\ X:\ Z:then I need to remove a directory from each drive hopefully the above can be used as an array.
FOR /F "delims= " %%G IN (Drives) DO somethinglikebelow %%G
e.g.
Attrib -s -r -h in Drives: DirctoryName
RD Drives: DirectoryName
any help appreciated even if it has to be done in vbscript
MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
What I am trying to do is get a list of drives
e.g
fsutil fsinfo drives
which returns
Drives: A:\ C:\ D:\ F:\ H:\ K:\ L:\ M:\ N:\ O:\ P:\ Q:\ T:\ X:\ Z:then I need to remove a directory from each drive hopefully the above can be used as an array.
FOR /F "delims= " %%G IN (Drives) DO somethinglikebelow %%G
e.g.
Attrib -s -r -h in Drives: DirctoryName
RD Drives: DirectoryName
any help appreciated even if it has to be done in vbscript
MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP