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,339 of 68,980    |
|    JJ to All    |
|    "!" character won't show if DelayedExpan    |
|    04 Dec 18 06:22:32    |
      From: jj4public@vfemail.net              I know that the "!" character become a special character if Delayed       Expansion is enabled. I thought the solution to show the "!" character is       simple like showing the "%" character, but apparently it's not.              So, how the heck can I show the "!" character?              [code]       @echo off       setlocal enabledelayedexpansion              rem this works       echo 100%%              rem none of these works       echo hello!!       echo hello!!!!              pause       [/code]              --- 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