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,372 of 68,980    |
|    Herbert Kleebauer to Robert Prins    |
|    Re: Copy all files into a format I can u    |
|    21 Feb 19 18:10:40    |
      From: klee@unibwm.de              On 21.02.2019 14:32, Robert Prins wrote:       > Basically, I need to uppercase al filenames, and strip the extension. I've       got this:       >       > for %%a in (*.h-h) do echo ./ ADD LIST=ALL,NAME=%%a 1>> all.txt && copy /b       > all.txt+%%a all.txt              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%              --- 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