Need help with basic script/batch to delete user home directory


hello,

 

i'm newbie when comes scripting.  worked  with  deltree commands in batch files before.  a  simple script delete user home directory doesn't exist anymore?  have 500 user directory need delete.

 

thank in advance,

 

 

 

if planning use batch file, need specify folder names 1 one in input file.  i think better use powershell or vb script request.  that reason mentioned scripting forums.

scripting forum: http://social.technet.microsoft.com/forums/en-us/itcg/threads

powershell forum: http://social.technet.microsoft.com/forums/en/winserverpowershell/threads

 


santhosh sivarajan | mcts, mcse (w2k3/w2k/nt4), mcsa (w2k3/w2k/msg), ccna, network+ houston, tx

blogs - http://blogs.sivarajan.com/
articles - http://www.sivarajan.com/publications.html
twitter: @santhosh_sivara - http://twitter.com/santhosh_sivara
posting provided no warranties,and confers no rights.


Windows Server  >  Directory Services



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group