March 27, 200521 yr Here A SFX Rar That Will Extract To D:\Programs Than Run The Script And Hello It My Cmd Window.cmdIt Worked On mine. Edited December 28, 200520 yr by gunsmokingman
March 27, 200521 yr Author I appreciate but my point was that I wanted to use the %ProgramFiles% variable so the script could work on a variety of computers and also I would be able to run the .VBS script from anywhere...
March 27, 200521 yr Try this.. I think what it needs to read is "%PROGRAMFILES%\Nortel Networks\Extranet.exe" -auth 0 -user LOGIN -pwd PASSWORD -serverip 000.000.000.000 -sWshShell.Run (chr(34) & PROG & "Nortel Networks\Extranet.exe" & chr(34) & " -auth 0 -user LOGIN -pwd PASSWORD -serverip 000.000.000.000 -s")Thats should def work.
March 28, 200521 yr HiAm not sure what error is being reported as is it not in English, translate in English and I may be able to help.In regards to compiling vbs to an .exe, for US $100 u can get AdminScriptEditorCheersRaja
March 28, 200521 yr Sorry to report I still get the same error... <{POST_SNAPBACK}>Can you please post the exact syntax of that line of code youre using, because Ive tested that and it should work....::EDIT:: Crap.. I forgot the leading slash in my previous post.... thats why it wasnt working..WshShell.Run (chr(34) & PROG & "\Nortel Networks\Extranet.exe" & chr(34) & " -auth 0 -user LOGIN -pwd PASSWORD -serverip 000.000.000.000 -s")There... now that should def work..... sorry!
Create an account or sign in to comment