hmm!
My guess is that the .dsn file has some kind of a problem...
Open your lin2db.dsn file with a text editor...
it should look like this:
Code:
[ODBC]
DRIVER=SQL Server
UID=MoSs
Trusted_Connection=Yes
DATABASE=lin2db
WSID=LOCALHOST
APP=Microsoft Data Access Components
SERVER=LOCALHOST
Description=lin2db
edit:
I also noticed that you changed the last Run() function
I have a reason for running the authd with a cmd...
That is because windows scripting Run() function does not support a working path argument... If you run directly the .exe the working path is not where the executable is placed, this will produce an error in your authd program...
Running with cmd first changes drive, then changes directory and then runs the authd... Otherwise it will not work.
Code:
Wsh.Run("cmd /D /C D: & CD D:\\ProjectC2-Beta3-Final\\NewAuth & l2authd.exe");