copying files using in ifmember rskt util

Tech-Archive recommends: Fix windows errors by optimizing your registry



This is what i have:

win2kpro clients
win2k03 dc
ifmember is in the login script dir

ifmember "mydomain\testgroup"
if not errorlevel 1 goto end
copy "c:\testdata\*.tt" "h:\" ----trying to copy from local machine to
a previously mapped network drive
:end

Does anyone see a syntax error?

.



Relevant Pages

  • Re: Login Script group membership
    ... This link explains how to use IfMember: ... The utility returns errorlevel 1 if the user is a member of the group (or ... You need to use GoTo statements. ...
    (microsoft.public.windows.server.scripting)
  • Help with script
    ... it maps all the drives in the script but gives me access to only the drive I ... ifmember Domain_Users ... if not errorlevel 1 goto Accounts_Payable ...
    (microsoft.public.windows.server.scripting)
  • Re: Help with script
    ... just mapped the drives I had ... ifmember is what I'm looking for but it ... if not errorlevel 1 goto Accounts_Payable ...
    (microsoft.public.windows.server.scripting)
  • Re: Help with script
    ... PC and it mapped all of the drives ... ifmember Domain_Users ... if not errorlevel 1 goto Accounts_Payable ...
    (microsoft.public.windows.server.scripting)
  • script
    ... REM CARBROOK ... IF NOT ERRORLEVEL 1 GOTO NEXT1 ... IFMEMBER "CARBROOK PRIMARY STAFF" ...
    (microsoft.public.win2000.networking)