J
joshboski
Guest
<quote/>
@echo off
FOR /F "tokens=1,2 delims=\ " %%A IN ('FSUTIL FSINFO DRIVES ^| MORE /
E /T0') DO (
REM Skip N:
IF "%%A"=="N" (
echo "skipping N"
) else (
echo "Deleting files from %%A"
del /S "%%A%\FILE1"
)
)
</quote>
@echo off
FOR /F "tokens=1,2 delims=\ " %%A IN ('FSUTIL FSINFO DRIVES ^| MORE /
E /T0') DO (
REM Skip N:
IF "%%A"=="N" (
echo "skipping N"
) else (
echo "Deleting files from %%A"
del /S "%%A%\FILE1"
)
)
</quote>