Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

cmd.exe is shitting me

Name: Anonymous 2014-05-17 17:20

I have at least one file whose filename includes at least one exclamation mark.
I'm watching the cmd.exe window, and I can see it's expanding to the correct filename, yet it keeps saying "File not found". Therefore, it must be shitting me.
The batch file is as follows:

REM @ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
ECHO started %cd% at !TIME!
@FOR /f "delims=" %%b in ('DIR /a:-d /b /s') DO (SET _temps=%%~dpb & FOR /f "tokens=3" %%c in ('DIR /a:-d /-c /s "%%b" ^| FIND "/"') DO SET _fsize=%%c & ECHO !_fsize! !_temps:%cd%\=!%%~nxb)
ECHO finished at !TIME!

Name: Anonymous 2014-05-17 17:31

improved version: @ / "=" %% (' /:- / /') ( _=%%~ & / "=" %% (' /:- /- / "%%" ^| "/"') _=%% & !_! !_:%%\=!%%~)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List