Hi friends!
How I can get the return of a line command into DOS with fivewin/xharbour like this:
"tracert -d 10.0.0.1"
MOISES wrote:tracert -d 10.1.1.1 >> file.txt
memoread file.txt
RUN tracert -d 10.1.1.1 >> file.txt
LOCAL sOSCommand
sOSCommand := "tracert -d 10.1.1.1 >> file.txt"
RUN ( sOSCommand )
FUNCTION Compile( xProject )
LOCAL sOsCommand
sOsCommand := "./m.sh " + xProject + " > " + xProject + ".flb"
RUN ( sOsCommand )
MsgInfo( MemoRead( xProject + ".flb" ) )
RETURN nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 100 guests