Using this command from one of your other post seems to work o.k.

run '"'+%COMSPEC%+'" /C "X:\audit.bat"'

But, there were other comments in that thread that said all the things being done in the batch file could be done in Kix. The batch file is simply:

X:
audit32.exe

Would it be better to change my login script, or is running it like above an acceptable alternative?

Also, is there a way to tell the script to wait until the audit32.exe process is complete and then disconnect the x: drive?