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,376 of 68,980    |
|    Tom Del Rosso to Herbert Kleebauer    |
|    Re: Copy all files into a format I can u    |
|    25 Mar 19 21:30:12    |
      From: fizzbintuesday@that-google-mail-domain.com              Herbert Kleebauer wrote:       >       > I don't understand what you want to do, but if you       > need to convert all lowercase to uppercase characters       > you can use:       >       > @echo off       >       > set text=Hello World 123       > echo %text%       >       > for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do       > set u[%%i]=%%i for %%i in (a b c d e f g h i j k l m n o p q r s t u v       > w x v z) do       > call call set text=%%%%text:%%i=%%u[%%i]%%%%%%       > echo %text%              For clarity, and for the record, lets parse that out.              The first CALL sees (for the letter b for example):       call set text=%%%%text:b=%%u[b]%%%%%%              Then I'm not completely sure what the next CALL sees.              --- 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