1.

Solve : How to get rid of the "Novell Login" dialog box??

Answer»

Dear all,

I have an application that runs in WINDOWS XP and is started through a Novell Client net using a batch file.

The command line of the batch file that starts the application is:
"start /wait C:\WINDOWS\system32\loginw32.exe EMPRAC_TREE/.USERJ.use.empr /TREE".

Notice that in the command line above ".USERJ.use.empr" is exactly the "User name" that fills the proper field of the Novell Login dialog box.

Every time I run the batch file, the Novell Login dialog box shows me the "User name" above and prompts me click on the “OK” button (The application does not request a Password).

How do I get rid of this dialog box? I mean, since the password is not requested, how do I insert the “Enter” command (the OK button) in the line of command of the batch file?

Thanks for your helpI doubt you can. Batch code cannot mimic key presses or mouse clicks. VBScript has a sendkeys method that might WORK. It ALSO has a run method where you can launch your application.

If you need further help PLEASE post the title of the Novell Login dialog box.

Good luck. use /cont at the end of the command

http://www.novell.com/support/php/search.do?cmd=displayKC&docType=kc&externalId=10013294&sliceId=&docTypeID=DT_TID_1_1&dialogID=43967425&stateId=0%200%2043963818Quote from: SIDEWINDER on October 13, 2008, 04:22:43 PM

I doubt you can. Batch code cannot mimic key presses or mouse clicks.

What about

echo.
echo Y
etc?

Hy Guys,

I wanna thank you all for your time, but I must congratulate "erobby" for his tip.
It works just perfectly.
Once more, thank you all for your help.

Gustavo


Discussion

No Comment Found