Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. phumes1

    Re: executing notepad.exe on client PC from url link on server

    Well, I just tried opening this file on my client PC and its works OK. I want to be able to click a link in a page from my PC (client) that resides on the webserver. It only works if the file is sitting on my (client) pc.
  2. phumes1

    Re: executing notepad.exe on client PC from url link on server

    I don't know guys. None of the code samples work. I don't have a clue.
  3. phumes1

    Re: executing program

    Here it is. <html> <head> <title>Test</title> </head> <body> <SCRIPT LANGUAGE=&quot;VBScript&quot;> Sub Notepad() Dim ws Set ws = CreateObject(&quot;WScript.Shell&quot;) ws.Run(&quot;c:\windows\notepad.exe&quot;) End Sub </SCRIPT> <input type=&quot;button&quot...
  4. phumes1

    Re: executing program

    See previous thread &quot;Re: executing notepad.exe on client PC from url link on server&quot; I have tried the code suggested numerous times on 3 different Windows PC's and I can't get notepad to load?? Two PC's are Windows XP/IIS and the other NT4 Server/IIS I tried running the script from...
  5. phumes1

    Re: executing notepad.exe on client PC from url link on server

    I also ran the below code from the command line and got this message. Should the code have the &quot;sub&quot; and &quot;end sub&quot;? Set WshShell = CreateObject(&quot;WScript.Shell&quot;) WshShell.Run (&quot;c:\windows\notepad.exe&quot;) C:\>cscript.exe test.vbs Dialog box pops up...
  6. phumes1

    Re: executing notepad.exe on client PC from url link on server

    OK. I took the following code and put it into a file called test.vbs Sub Notepad() Dim ws Set ws = CreateObject(&quot;WScript.Shell&quot;) ws.Run(&quot;c:\windows\notepad.exe&quot;) End Sub I then went on the server running NT4 and opened a command prompt windows and typed the...
  7. phumes1

    Re: executing notepad.exe on client PC from url link on server

    I'm really new at this. How do I run my code at the command line. Whats the syntax?
  8. phumes1

    Re: executing notepad.exe on client PC from url link on server

    Hi, I can't get the above code to work!!??? I've been messing around a little and my code has changed since my last post. This is what I have and notepad won't load on my PC (client) or on the server?? I'm stummped. Should something else be installed? I'm by no means an expert so this is...
  9. phumes1

    Re: executing notepad.exe on client PC from url link on server

    Hi, I have the following code in my html file but it won't execute notepad.exe on my PC. What am I doing wrong? If I do a message box as a test it works but the shell doesn't? Basically I have a file link on the server that when clicked I want that file (ascii file) to be opening on my PC...

Part and Inventory Search

Back
Top