gunsmokingman Posted March 27, 2005 Posted March 27, 2005 (edited) 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, 2005 by gunsmokingman
Incroyable HULK Posted March 27, 2005 Author Posted March 27, 2005 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...
durex Posted March 27, 2005 Posted March 27, 2005 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.
Incroyable HULK Posted March 28, 2005 Author Posted March 28, 2005 Sorry to report I still get the same error...
Raja Posted March 28, 2005 Posted March 28, 2005 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
durex Posted March 28, 2005 Posted March 28, 2005 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!
Incroyable HULK Posted March 28, 2005 Author Posted March 28, 2005 Yep! it is working now!Thank you for all your help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now