Subj : Batch File... To : Shurato From : Shurato Date : Wed Oct 23 2024 23:06:00 Sh> What's wrong with this batch file? It only appears to grab the first Sh> directory, instead of all subdirs. Sometimes it doesn't even do that.. f Sh> for %%i in (*.) DO ( Sh> cd %%i Sh> del shortlist.bbs Sh> for %%j in (*.zip) DO ( Sh> pkunzip -o %%j file_id.diz %temp% Sh> set /p output=<%temp%\file_id.diz Sh> echo %%j %output%>>shortlist.bbs Sh> ) Sh> cd .. Sh> ) I've edited this some to specify %1 as the path determined and used that for the initial directory and the paths, removing the cd .. but that didn't seem to help any. It should have worked around the "." and ".." paths. -- Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp, ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs'). *** THE READER V4.50 [freeware] --- * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (618:300/50) .