locked
batch file RRS feed

  • Question

  • My batch file only has one line
    EXIT
    (I need a file that runs but does nothing).
    On all my computers (Windows 7, Vista, XP) it works as supposed and returns zero.

    One of my clients reported an error and provided a log where it has "Process exited with code 1" instead of "Process exited with code 0" for this file on Windows 7. What is the possible reason? I can't ask the client to run it again so I don't know what would happen if it were EXIT 0 instead of just EXIT.

    Maybe there is a better way to make a batch file that doesn't do anything and returns success?


    Thank you.

    Tuesday, December 7, 2010 9:44 PM