Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running acu.exe from login script

Status
Not open for further replies.

sruiz

MIS
Jul 30, 2001
15
US
Hi all,

I have tried this in the past unsuccesfully. I try to run the acu.exe or any .exe file from a login script and I always get the same obscure error:

Script error:
LOGIN-LGNWNT32.DLL-600: This utility could not interpret the line.

The original line was:
\\May-nw\sys\PUBLIC\CLIENT\acu.exe

That is the correct location of the file and I can run it if I browse to it, but I can never get it to run automatically.

I am including the login script entry I use:
REM ***** Windows NT/2000/XP *****
IF OS = "WINNT"
WRITE "Updating Novell Client for Windows NT/2000/XP."
\\May-nw\sys\PUBLIC\CLIENT\acu.exe
IF "%ERROR_LEVEL" = "1" THEN
EXIT
END

I hope someone can help me out!!

Thanks, sruiz

 
I found out about the # @ and it worked!

What exactly does this do?

Thanks for the input!

Sal
 
You have to use it to run an external program.

# runs it and waits for it to complete before running the next line.
@ runs it and keeps processing the script regardless of whether it's done or not.



Marvin Huffaker MCNE, CNE
Marvin Huffaker Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top