If I recall correctly for OLD style (batch and command), the Environmental Variable for the Domain Controller system granting logon rights via logon is LOGONSERVER...so you can use: %LOGONSERVER%\FOLDER\IFMEMBER.EXE
~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~