Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to write a batch file that will delete the first three characters from every line of a text file with no success. I am a newbie to this, any help would be appreciated.

@echo off > newfile & setLocal enableDELAYedexpansion
for /f "tokens=* delims= " %%a in (myfile) do (
set s=%%a
set s=!s:~3!
>> newfile echo.!s!
)
=====================================
Helping others achieve escape felicityM2

![]() |
Unzip All the Zip files f...
|
Replacing space tab with ...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |