General information
Category:
Coding, syntax & commands
Title:
How to get errorlevel from run command
Hello Everybody
From my application i start a script on an linux server.
RUN /N plink.exe -l root -pw xyz 127.1.1.110 "sh /root/test.sh E"
Everything works as expected.
After running the command from cmd.exe in windows, i can do: echo %ERRORLEVEL%
to get some information obout the success of the script.(0 = ok, 4 = error for example)
I don't know, how to get the returned errorlevel in my foxpro(VFP 9.2) programm.
Any help welcomed.
Best regards
Albert
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only