dcsimg
Results 1 to 2 of 2

Thread: Parse command to port com4

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2019
    Posts
    1

    Parse command to port com4

    I am new to vbscript. I want to parse string to port com4 from my web application using vbscript. I tried different ways but it fails. this application run on windows environment. on cmd "echo msg>com4" working. I wanted to do this from explore browser

    Dim ObjExec
    Dim strFromProc

    Set objShell = WScript.CreateObject("WScript.Shell")
    Set ObjExec = objShell.Exec("CScript echo hello>com4")

    this is what I'm tried one

  2. #2
    Frenzied Member jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    1,306

    Re: Parse command to port com4


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width