Your technology certification is waiting. Enroll in Cloud Class ®
Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.
IF EXIST %FileNum% DEL %FileNum%
REM SET COUNT TO POINT TO THE FIRST CHARACTER
REM CREATING THE TEXT FILE
ECHO THIS IS A TEST>%File%
REM CONVERTING THE TEXT FILE TO NUMBER
FOR /F "usebackq delims=" %%A IN ("%File%") DO CALL :IsolateStr "%%A"
IF "!Str!" == "" (
REM 888 REPRESENTS CRLF
SET /a Count+=1
SET Str=%Str: =SPACE%
FOR %%A IN (SPACE:100,A:101,B:102,C:103,D:104,E:105,F:106,G:107,H:108,I:109,J:110,K:111,L:112,M:113,N:114,O:115,P:116,Q:117,R:118,S:119,T:120,U:121,V:122,W:123,X:124,Y:125,Z:126) DO (
FOR /F "tokens=1,2 delims=:" %%B IN ("%%A") DO IF [%%~B] == [%Str%] SET Line=!Line!%%C
REM TO BE ADDED
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.