Hopefully someone can help me,I'm new to vbscript.
We have nearly a hundred individual .cmd files that user's are login
profiles point to. I'm trying to get then all to run a single login script.
However a few will need to have their own script run after the main login
script has executed. I thought I would use an IF exist to determine if the
user's.cmd file is in the Netlogon folder then run it.
heres' the code that does not work. No errors.
If objFSO.FileExists("%gsLogonServer\%gsEnvUser.cmd") Then
objShell.run "cmd /k %gsLogonServer\%gsEnvUser.cmd"
Thanks in advance