back to Deljunk
back to Computer stuff
home

Copy and paste the following (but don't include the "last updated" line!) into C:\bat\DelsNzAd.bat

@echo off

REM Filename: delsnzad.bat - delete shell for Netzero junk

REM "if exist *.*", or its converse, detects hidden files.

if exist c:\bat\delnzjnk.bat goto DOIT
echo c:\bat\delnzjnk.bat is required to delete Netzero junk but was not found.
goto END

:DOIT
echo Note: Remember to watch the echoed directory when reminded "All files in
echo directory will be deleted!", especially if running this utility after making
echo changes to this script or to the directory structure of the computer.
REM (Suggest 80 column editing guide here - use dots and vertical lines and copy and paste)
REM As the programmer, always check for the directory before going to it
REM (eg "if not exist winzip.log goto CW32"),
REM and always put a "cd" by itself before any delete command, for the benefit of the user (you!).
REM As the user, train yourself to watch the echoed directory before approving any deletes.

echo Directories will be echoed where junk found
c:\windows\command\choice /C:ync /N "Ready to look for and delete any Netzero ads? (y/n/c)>"
if errorlevel 3 goto END
if errorlevel 2 goto END

c:

echo Searching for Netzero junk to delete... (directories echoed where junk found)
echo.

call c:\bat\delnzjnk.bat

:FUP
echo.

echo Done.

:END
echo.
echo Click on the X in the top right-hand corner of the Finished MS-DOS Window; that will clear it.
 

last updated March 29, 2003