Use an If statement. If variable = string then do a command.
-----Original Message-----
From: Simon Butler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 12:22 PM
To: NT System Admin Issues
Subject: Test Whether Variable Exists
Hi,
This should be an easy one but I cannot find the answer after hours of
searching.
I am looking for a way that I can test whether a variable exists and then
take action on the result. This is for use in a login script - not a KIX
script.
I don't want to add, change or delete the variable in anyway, just check
whether it is there or not.
Can anyone suggest a way?
Thanks,
Simon Butler.
http://www.sunbelt-software.com/ntsysadmin_list_charter.htm
**********************************************************************
"This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the e-mail originator.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses. However,
please check this e-mail for virus infection for which
CDG Management LLC accepts no responsibility"
**********************************************************************
http://www.sunbelt-software.com/ntsysadmin_list_charter.htm