I think you're thinking of the one where you copy it to the netlogon share.  
Then, you can access it using syntax like:

%0\..\ifmember.exe dostuff

I've only tried this in the old-style logon scripts (assigned on the user 
accounts).  I think the %0\..\ means look in the current path, so maybe with a 
newer-style script you just put it in the same location as the .bat/.cmd/.vbs 
file that runs it?

-Bonnie

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 10:51 AM
To: NT System Admin Issues
Subject: Executing programs from a login script


I know I should know the answer to this, but I'm old, and it's too hot (it's 
100F here in Philadelphia at the moment). Anyway, in my Win2000 AD, I want to 
execute a login script for a particular OU. And in this login script, I want to 
check group memberships and map drive letters accordingly. Not being all that 
confident in VBscript, I was going to use the "IfMember" utility from the 
Resource Kit.  What I'm drawing a blank on is where to copy the utility so that 
it is accessible at login time. I want to call it from the SYSVOL share, don't 
I? Where would I copy the EXE to, what path, so that I can execute it from the 
login script?

Thanks

--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel:  215-684-4180
Cell: 215-252-0143
<mailto:[EMAIL PROTECTED]>

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to