Jump to content

Recommended Posts

Posted (edited)

Here A SFX Rar That Will Extract To D:\Programs

Than Run The Script And Hello It My Cmd Window.cmd

It Worked On mine.

Edited by gunsmokingman

Posted

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...

Posted

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 -s

WshShell.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.

Posted

Hi

Am 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 AdminScriptEditor

Cheers

Raja

Posted
Sorry to report I still get the same error...  :}

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...