home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
Microsft
/
ie40pl95
/
javi386.cab
/
remjava.bat
< prev
next >
Wrap
DOS Batch File
|
1997-07-18
|
588b
|
29 lines
@echo off
REM This batch file removes the java directory including all files and
REM subdirectories. This hack is necessary because Iexpress doesn't
REM allow conditionals and 95 and NT remove directories differently.
if "%1" == "" goto usage
if not "%1" =="/y" goto usage
if "%2" == "" goto usage
del %2\Java\Classes\AFCR.exe
del %2\Java\Classes\afc.zip
if not "%OS%" == "Windows_NT" goto del95
rmdir /s /q %2\Java\Packages
goto end
:del95
deltree /y %2\Java\Packages
goto end
:usage
echo Usage: RemJava /y [Root of Java Class directory]
:end