@echo off
setlocal enabledelayedexpansion
for /f %%x in (%1) do (
echo %%x
set temp=%%x
echo !temp:~-1!
)
endlocal
Search found 1 match
- 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