Debian Codegraph @

pTk/mTk/win/rmd.bat

raw
1 @echo off
2 rem RCS: @(#) $Id: rmd.bat,v 1.5 2001/11/13 02:46:23 davygrvy Exp $
3
4 if not exist %1\nul goto end
5
6 echo Removing directory %1
7
8 if "%OS%" == "Windows_NT" goto winnt
9
10 deltree /y %1
11 if errorlevel 1 goto end
12 goto success
13
14 :winnt
15 rmdir /s /q %1
16 if errorlevel 1 goto end
17
18 :success
19 echo Deleted directory %1
20
21 :end
22