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,248 of 68,980    |
|    JJ to All    |
|    Better detection of CMD's Unicode mode?    |
|    14 Jun 18 03:32:29    |
      From: jj4public@vfemail.net              So far, I could only think of two ways for detecting CMD's Unicode mode.              1. By displaying a character and redirect it into a file, then check the       file size. This is the simplest, but slow. And the fact that it creates a       file, makes it not a preferred method.              2. By parsing the %CMDCMDLINE% variable to check the presence of the /U       switch. It's relatively fast, but parsing it may require a relatively large       code - considering that multiple switches may not be separated by a space.              Anyone know other way(s) to detect it?              --- 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