This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
returning_20errors_20from_20windows_20commands [2018/04/14 18:22] richardrussell Added syntax highlighting |
returning_20errors_20from_20windows_20commands [2021/12/19 10:47] (current) jgharston Needs an explicit extension. |
||
---|---|---|---|
Line 5: | Line 5: | ||
<code bb4w> | <code bb4w> | ||
DEF FNwin_cmd(cli$) | DEF FNwin_cmd(cli$) | ||
- | LOCAL ch%,err$,tmp$:tmp$=@tmp$+STR$TIME | + | LOCAL ch%,err$,tmp$:tmp$=@tmp$+STR$TIME+"." |
OSCLI "cmd /c "+cli$+" 2>"+tmp$ | OSCLI "cmd /c "+cli$+" 2>"+tmp$ | ||
ch%=OPENIN(tmp$):IF ch%=0:="" | ch%=OPENIN(tmp$):IF ch%=0:="" |