Strange return from command EXT
Posted: Sun Dec 27, 2020 6:25 pm
Hi,
This code always returns retcopy=0 https://i.imgur.com/t0RqnlM.png
sub main()
// ext ("SET OPTION QUIET 1")
printl ("copy file ^"C:\tools\tetris.exe^" ^"C:\tools\tetris2.exe^" -yq")
retcopy = ext ("copy file ^"C:\tools\tetris.exe^" ^"C:\tools\tetris2.exe^" -yq")
printl (retcopy)
// ext ("SET OPTION QUIET 0")
end sub
This code always returns retcopy=0 https://i.imgur.com/t0RqnlM.png
sub main()
// ext ("SET OPTION QUIET 1")
printl ("copy file ^"C:\tools\tetris.exe^" ^"C:\tools\tetris2.exe^" -yq")
retcopy = ext ("copy file ^"C:\tools\tetris.exe^" ^"C:\tools\tetris2.exe^" -yq")
printl (retcopy)
// ext ("SET OPTION QUIET 0")
end sub