bearbear12345 icon

File List Batch Script

bearbear12345 | PRO | 10/10/15 12:17:07 AM UTC | 0 ⭐ | 369 👁️ | Never ⏰ | []
Batch |

350 B

|

None

|

0 👍

/

0 👎

@echo off
echo [] Deleting previous listings
del _whodoisee_ 2>nul
echo [] Generating list
echo. >nul 2>_whodoisee
for /f "delims=" %%x in ('dir /b') do ( 
  if not [%%x]==[_whodoisee] (
    if not [%%x]==[_whodoisee_.bat] (
      echo %%x  ^|  >>_whodoisee
    )
  )
)
move /y _whodoisee _whodoisee_ >nul 2>nul
echo Complete!
rem del _whodoisee_.bat

Comments