Recent content by truotsuko

  1. T

    Batch scripting Windows 7

    I figured out the appropriate syntax (see below)... NET USE G: /DELETE /Y NET USE H: /DELETE /Y NET USE I: /DELETE /Y NET USE J: /DELETE /Y NET USE K: /DELETE /Y NET USE L: /DELETE /Y NET USE M: /DELETE /Y NET USE N: /DELETE /Y NET USE O: /DELETE /Y NET USE T: /DELETE /Y NET USE Q: /DELETE /Y...
  2. T

    Batch scripting Windows 7

    How about using the "ifmember" utility, I would like to but alas the syntax fails me, I picked a group that I am not a member of but assigned drives that I do have access to, based on my understanding the script should not run, but it does. any assistance is appreciated.
  3. T

    Batch scripting Windows 7

  4. T

    Batch scripting Windows 7

    This is on a domain so the security groups that are called are on the domain level. In essence I simply want an array of all the shares that are available (say 10) but only to have those drives be assigned on a per user (security group membership) assigned, the issue I am running into is once I...
  5. T

    Batch scripting Windows 7

    The code below is what I have currently, NET USE G: \\Fileserver1\SHARE\AllShare /PERSISTENT:No IF ERRORLEVEL 1 ( ECHO Error mapping drive G: ) NET USE H: \\Fileserver1\SHARE\Management /PERSISTENT:No IF ERRORLEVEL 1 ( ECHO Error mapping drive H: ) NET USE I: \\Fileserver1\SHARE\Security...