Search found 1 match

by Masiosare
22 Nov 2010 14:15
Forum: DOS Batch Forum
Topic: How to manipulate a "%%x"- type string read from a file?
Replies: 6
Views: 7422

Re: How to manipulate a "%%x"- type string read from a file?

@echo off
setlocal enabledelayedexpansion
for /f %%x in (%1) do (
echo %%x
set temp=%%x
echo !temp:~-1!
)
endlocal