Need help finding a script

Discussion in 'Scripting & Programming' started by michael78, Mar 7, 2008.

  1. michael78

    michael78 Terabyte Poster

    2,085
    29
    141
    Guys, anyone know of a website to copy vbs scripts or batch files from. I need a script that will delete network drives and remap new ones. Tried looking but the ones I've found don't work or won't delete all the needed old drives.


    Cheers in Advance :D
     
    Certifications: A+ | Network+ | Security+ | MCP | MCDST | MCTS: Hyper-V | MCTS: AD | MCTS: Exchange 2007 | MCTS: Windows 7 | MCSA: 2003 | ITIL Foundation v3 | CCA: Xenapp 5.0 | MCITP: Enterprise Desktop Administrator on Windows 7 | MCITP: Enterprise Desktop Support Technician on Windows 7
    WIP: Online SAN Overview, VCP in December 2011
  2. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,205
    136
    199
    Have you tried this?

    net use * /delete /yes

    net use W: \\SERVERNAME\FOLDER
    net use X: \\SERVERNAME\FOLDER1
     
  3. michael78

    michael78 Terabyte Poster

    2,085
    29
    141
    Simon, your a star works perfectly.
     
    Certifications: A+ | Network+ | Security+ | MCP | MCDST | MCTS: Hyper-V | MCTS: AD | MCTS: Exchange 2007 | MCTS: Windows 7 | MCSA: 2003 | ITIL Foundation v3 | CCA: Xenapp 5.0 | MCITP: Enterprise Desktop Administrator on Windows 7 | MCITP: Enterprise Desktop Support Technician on Windows 7
    WIP: Online SAN Overview, VCP in December 2011
  4. hippy

    hippy Kilobyte Poster

    307
    5
    40
    Dirty batch :P
     
  5. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,205
    136
    199
    Glad to help! :biggrin
     

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.