Thank you Scott, I would test it out next week.

Thanks

John Shi

-----Original Message-----
From: Saraga, Scott l [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 6:04 AM
To: NT 2000 Discussions
Subject: RE: Running an install script--need admin right.




#BEGIN
Set SU_USERNAME=AdminUserID
Set SU_PASSWORD=AdminPass
Set SU_DOMAIN=DOMAIN #you must change this line to your Domain name.

Set SU_COMMANDLINE=c:\anyfile.cmd #(My batch file would be on the netlogon.
#The file is called install.bat. Do I need to change something on this
line.)
#Yes change this to install.bat, but don't forget to have a path specified
for example see next line.
#SET SU_COMMANDLINE=\\%SRCSERVER%\%SRCSHARE%\install.bat


Set SU_DESKTOP=ALTDESK #this variable is for changing desktops, thus
allowing your code to run on a different desktop viewable by the end user.
Hiding your code from them. it is not necessary but I like hiding my code
from them ;)

Start /b /wait SU.exe -cb -dn -e 
#DONE

Run SU.exe /? at the command line to see what the switches are for. 

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to