Hello,
I'm new in this forum. So let me know if I have posted in the wrong place. I have a small problem with this script.
@echo off
setlocal enabledelayedexpansion
for /f %%G in ('dir /b /o:n *.mp3') do (
call
rintVal 30 %%~nG
set CP=!var!
echo !CP!>> rresult.txt
)
goto:eof
rintVal
for /L %%a in (1,1,%1) do set zero= !zero!
set var=!zero!%2
set var=!var:~-%1!
goto :eof
Could someone tell me why after some good results, the !CP! value is always the same ? It looks like a variable cannot change more than 75 times or something like that. You can run directly this script in a .bat file to see the result.
Thanks for your answer.
Nico

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic