Menu

[r3]: / trunk / DevTools / Tidy.bat  Maximize  Restore  History

Download this file

41 lines (34 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@rem ---------------------------------------------------------------------------
@rem Script used to delete temp and backup source files
@rem
@rem Copyright (C) Peter Johnson (www.delphidabbler.com), 2006-2009
@rem
@rem v1.0 of 09 Jun 2006 - First version.
@rem v2.0 of 21 Apr 2008 - Complete rewrite: now recursively deletes each file
@rem type from source and all subfolders.
@rem v2.1 of 24 Aug 2008 - Added code to remove __history folders from Src and
@rem Src\InstallHelper directories.
@rem v2.2 of 10 May 2009 - Added code to removed __history folders from all Src
@rem directories except those with images or no files.
@rem ---------------------------------------------------------------------------
@echo off
set SrcDir=..\Src
echo Deleting *.~* from "%SrcDir%" and subfolders
del /S %SrcDir%\*.~*
echo.
echo Deleting *.dpp from "%SrcDir%" and subfolders
del /S %SrcDir%\*.ddp
echo.
echo Deleting __history directories
rmdir %SrcDir%\__history
rmdir %SrcDir%\3rdParty\__history
rmdir %SrcDir%\AutoGen\__history
rmdir %SrcDir%\Help\__history
rmdir %SrcDir%\Help\CSS\__history
rmdir %SrcDir%\Help\HTML\__history
rmdir %SrcDir%\Install\__history
rmdir %SrcDir%\Res\HTML\__history
rmdir %SrcDir%\Res\Misc\__history
rmdir %SrcDir%\InstallHelper\__history
rmdir %SrcDir%\InstallHelper\Res\__history
echo Done.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.