I just want to convert all the text to uppercase in the text file. For example, the first name, last name, full name, after Bradford, Pitt, Brad Pitt [after conversion] first name, last name, full name, Brad, PITT, BRAD PITT
Is it possible ??
Below the file you want, but if the file is large to convert then this method is slow ...
@echo off setlocal EnableDelayedExpansion for / F "delims =" %% (% 1) in% (for "line = %% A" in% b ABCDEFGHIJKLMNOPQRTUVWYZZ) Set (Set "Line =! Line: %% B = %% B!") Echo! Line!) To use this program, the file's Name first paragraph Keep it in the butterfly. For example, if this batch file is touper. If it is said then:
toupper abc.txt Note that this program does not contain any exclamation points and to eliminate empty lines. These limitations can be fixed if it is necessary, but the program is slowed down ...
Antonio
No comments:
Post a Comment