User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

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]
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:=""
returning_20errors_20from_20windows_20commands.txt ยท Last modified: 2021/12/19 10:47 by jgharston