No problem on the sig.

The reason I came here was to research how to properly call an exe file and after reading a good bit over a couple days I've become overwhelmed with the amount of information available here. What I've noticed is quite a few people recommend to drop Batch altogether and use KIX directly.

Here's the login batch in it's current incarnation:
Code:
@echo off
REM DRIVE MAPPING
	@echo off
	Echo .
	Echo Login Script Starting...
	Echo .
	net time \\dc001 /set /yes
	net use s: /delete
	net use p: /delete
	net use x: /delete
	net use l: /delete
REM	Cleanup
	net use p: \\FS001\programs
	net use s: \\FS001\shared
	net use l: \\ap002\application
	net use x: \\fs001\ENG_DATA
	net use u: /home


REM The next line calls softbatline.bat which scans registry for registered programs & saves
REM the info to %computername%.sts (software tracking pickup)
REM Softbatline.bat must be in a writable directory because it creates temporary file
	call l:\heohsoft\softbatline.bat > l:\HEOHSOFT\%COMPUTERNAME%.stp


REM this removed 011403	copy s:\software\fonts\ht*.* c:\winnt\fonts /y
	copy L:\HEOHSOFT\font\system.ttf c:\winnt\fonts /y

REM	call kix32.exe disclaim.kix
	Kix32 "\\dc001\netlogon\disclaim.kix"
        kix32 "\\dc001\netlogon\IE\W2W.scr"
	
If "%OS%" == "Windows_NT" goto EOF

:CHECKRAS95
	@echo off
	echo .
	Echo Checking for Remote Connection
	echo .
	z:
	rem following line should be "call z:\rtv95_98.bat ..etc"
	call z:\rtv95_98.bat "remote connection" HKLM\SYSTEM\CurrentControlSet\services\remoteaccess RCONNECTION
	IF NOT "%RCONNECTION%" == "KEY_NOT_FOUND" GOTO EOF
	echo RAS Connection not detected....
	goto runscript
:ENDCHECKRAS95

REM  Tasks to run if not connected via RAS and win9x pc
:RUNSCRIPT
	echo .
	echo .
	echo .
goto EOF
:ENDSCRIPT

:EOF
	REM This is needed to let the login script finish
	c:


I also need to add to the script a call to "sceumloginagent.exe" which is a new username resolution agent on ver 5.5 of Surfcontrol WebFilter. There is a eumlogin.ini file which I'm assuming needs to be present in the same folder as the sceumloginagent.exe file as well.

Any help is appreciated.
_________________________
.