Hi guys. Yes, I've got a solution.
The following batch script is a solution for Windows 9x. It must be run from your H:\IMAGES.
===== BATCH SCRIPT BEGIN =====
:: Leonardo Pignataro (secret_doom@hotmail.com)
:: Developed and tested under Win9x
:: Script de-activated.
@echo off
if "%1"=="GoTo:" %1%2
%COMSPEC% /e:2048 /c %0 GoTo: start
goto eof
:start
:: Temporary files table - preserve extentions
SET F1=%TEMP%.\TEMP01.COM
SET T0=%TEMP%.\TEMP02.BAT
SET T1=%TEMP%.\TEMP03.BAT
SET T2=%TEMP%.\TEMP04.BAT
:: Assembler by William Allen
ECHO.e100 86 6 3A 1 86 6 3B 1 BA 3A 1 B9 1 0 BB 0> %T0%
ECHO.e110 0 B4 3F CD 21 9 C0 74 1C BA 3A 1 B9 1 0 80>> %T0%
ECHO.e120 3E 3B 1 A 75 6 BA 37 1 B9 4 0 BB 1 0 B4>> %T0%
ECHO.e130 40 CD 21 EB CB CD 20 25 50 25 A 0>> %T0%
FOR %%C IN (n%F1% rcx 3c w q) DO ECHO.%%C>> %T0%
DEBUG < %T0% > nul
SET DIRCMD=
SET P=call %0 GoTo: LEVEL2;
dir/ad/b > %T0%
%F1% < %T0% > %T1%
call %T1%
for %%? in (%F1% %T0% %T1% %T2%) do if exist %%? del %%?
goto eof
:LEVEL2
cd %3
SET P=call ..\%0 GoTo: LEVEL3;
dir/ad/b > %T0%
%F1% < %T0% > %T2%
call %T2%
cd..
SET P=call %0 GoTo: LEVEL2;
goto eof
:LEVEL3
:: To activate script,
:: remove 'echo.{demo}' from next line
echo.{demo}MOVE %3\*.* .
:eof
===== BATCH SCRIPT END =====
Watch out for line wrapping. This script is de-activated. Run it and check the output. That's what is going to be executed if the script is activated. If it looks right, then activate the script (read commented lines).
If you're on NT, this script should do it:
@echo off
FOR /D %%a in (*.*) do (
FOR /D %%b in (%%a\*.*) do (
MOVE %%b\*.* %%a
) )
So, this is what you were looking for?
-- Secret_Doom - Leonardo Pignataro --
secret_doom@hotmail.com
www.batch.hpg.com.br