C:\>type htmldrive.bat
REM htmldrive.bat E
@echo off
%1:
For /f "delims=" %%a in ('dir /b /s *.htm') do echo %%a
Output:
C:\>
C:\>htmldrive.bat E
C:\>REM htmldrive.bat E
E:\bookmark.htm
E:\eTrust EZ AntivirusS.htm
E:\maukiegrey.htm
E:\signature.html
E:\so.htm
E:\South.htm
E:\upgrade.htm
E:\walkthetalk_swf.htm
E:\CH.pps\aP Lite Flash\index.html
E:\CH.pps\PowerPoint\index.html
E:\>