OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [win/] [rmd.bat] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
@echo off
2
rem RCS: @(#) $Id: rmd.bat,v 1.1.1.1 2002-01-16 10:25:38 markom Exp $
3
 
4
if not exist %1\tag.txt goto end
5
 
6
echo Removing directory %1
7
 
8
if "%OS%" == "Windows_NT" goto winnt
9
 
10
cd %1
11
if errorlevel 1 goto end
12
del *.*
13
cd ..
14
rmdir %1
15
if errorlevel 1 goto end
16
goto success
17
 
18
:winnt
19
rmdir %1 /s /q
20
if errorlevel 1 goto end
21
 
22
:success
23
echo deleted directory %1
24
 
25
:end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.