Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,688 of 68,980    |
|    Herbert Kleebauer to All    |
|    Re: Get screen width (in characters) in     |
|    19 Nov 20 21:39:45    |
   
   From: klee@unibwm.de   
      
   On 19.11.2020 16:39, Zaidy036 wrote:   
      
   > MODE > [file]   
   > FIND "Columns" [file] > [file 2]   
   > SET /P _Col=<[file 2]   
   > SET _Col=%_Col:Columns: =%   
   > etc   
   >   
      
   @echo off   
   for /f "tokens=2" %%i in ('mode con:^|find "Columns"') do set /a n=%%i   
   echo %n%   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca