Running a VBScript .exe with an .inp answer file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcapps
    New Member
    • Mar 2010
    • 2

    Running a VBScript .exe with an .inp answer file

    I'm trying to run an executable that calls an .inp file.

    This is my current syntax:

    Set WshShell = WScript.CreateO bject("WScript. Shell")
    WshShell.Run "\\Cetus\expres s\agents\aclien t\altiris-aclient-6.9.430.X86.exe "
    "\\Cetus\expres s\agents\aclien t\aclient.inp"

    I'm getting the following error:
    Line: 28
    Char: 6
    Error: The system cannot find the file specified.
    Code: 80070002
    Source: (null)

    I know the file exists and the path is correct. Is my syntax wrong? Thanks for the help
Working...