Menu

C:\Program' is not recognized as an internal or external command while fetching exe

Help
2016-11-14
2016-11-14
  • Ganesh Markande

    Ganesh Markande - 2016-11-14

    HI,

    I am using STAF to fetch one of my exe which is installed at <Program files="">/<my-app>/<<my-exe>. But i am getting following error

    C:\Program' is not recognized as an internal or external command. Can some one please help me to resolve it.

     
  • Sharon Lucas

    Sharon Lucas - 2016-11-14

    It sounds like you need to specify double quotes around the file or directory name that contains spaces (e.g. "C:\Program Files...\xxx.exe") or use STAF's length delimited format that is of the form :<Length>:<String>.

    See section "7.2 Option Value Formats" in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDROVFORM for more information.

    If that doesn't help, please post the complete STAF service request that is failing,

     

Log in to post a comment.