|Thnx for the reply.|
Tried it, but doesn't seem to work.
Here is an example of a random txt file of my 200 files:
I need to remove the "7" from the begining of line 5
I was fooling around with batch scripts for other purposes, like this:
@echo off & setLocal EnableDelayedExpansion
for /f "tokens=* delims= " %%a in ('dir/b *.txt') do (
for /f "tokens=* delims= " %%i in (%%a) do (
set /a N+=1
if !N! equ 1 (
echo !front!!back! > #
) else (
echo %%i >> #
copy # %%a
this is a script from mechanic2go member and it deletes characters from 10 to 18 on the first row.
But, since I'm not familiar with the meaning of spatial characters I can't modify this for my needs.
Can you direct me to a web resource with some batch script basics - i.e. % means ... %%x is used for...
If you can, please modify your script and try it on my sample file.
Thanks in advance.