home bbs files messages ]

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,246 of 68,980   
   Dr J R Stockton to All   
   Re: Leading zero on %TIME% ?   
   11 Jun 18 02:12:25   
   
   From: J.R.Stockton@physics.org   
      
   On Saturday, June 9, 2018 at 8:52:45 AM UTC+1, Guest 1032 wrote:   
   > четвртак, 21. децембар 2017. 15.08.11 UTC+1, Dr J R Stockton   
   је написао/ла:   
       
   > Try this:   
   > echo %time%~0,2%   
      
   "Guest 1032" seems to be Serbian, and, as the first line (attribution)   
   of his article used Serbian, Google Groups offered to translate the   
   article.  Not only did it mess up the translation of the Serbian   
   attribution, but it also "translated" the (incorrect) batch line   
   quoted above to   
     echo% time% ~ 0.2%    
   which is even worse.   
      
   Moral : If translation may have occurred, read code from the original   
   article.   
      
   As I wrote in December, the solution then provided works correctly;   
   it is in frequent use.   
      
   --    
     (c) John Stockton, near London, UK.  Using Google Groups.           |   
    Mail: J.R.""""""""@physics.org - or as Reply-To, if any.             |   
      
   --- 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