🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #669

Re: Update Indy10 in C++Builder 2007

#669
From: roladdon
Date: Sun, 23 Dec 2007 20:52
90 lines
4737 bytes
This is the bat to backup and remove old Indy - this works on my computer - 
may need to be adjusted to fit yours

BackupRemoveIndyRadStudio.bat
_________________________________________________________
@echo off

if not (%COMSPEC%)==() goto start
echo No Command Interpreter found
goto EndExit

:start

SET NDCBuilder=C:\Progra~1\CodeGear\RADStu~1\5.0
SET NDCBuilderBackUp=C:\Progra~1\CodeGear\RADStu~1\BackUp5.0
if not exist %NDCBuilderBackUp%\*.* md %NDCBuilderBackUp% >nul

if (%NDCBuilder%)==() goto enderrmsg
if not exist %NDCBuilder% goto enderrmsg
if not exist %NDCBuilderBackUp% goto enderrmsg

if not exist %NDCBuilderBackUp%\Bin\*.* md %NDCBuilderBackUp%\Bin >nul
move %NDCBuilder%\Bin\*Indy*.bpl %NDCBuilderBackUp%\Bin
move %NDCBuilder%\Bin\*Indy*.jdbg %NDCBuilderBackUp%\Bin


if not exist %NDCBuilderBackUp%\include\*.* md %NDCBuilderBackUp%\include 
 >nul
if not exist %NDCBuilderBackUp%\include\Indy10\*.* md 
%NDCBuilderBackUp%\include\Indy10 >nul
move %NDCBuilder%\include\Indy10\*.* %NDCBuilderBackUp%\include\Indy10


if not exist %NDCBuilderBackUp%\source\*.* md %NDCBuilderBackUp%\source >nul
if not exist %NDCBuilderBackUp%\source\Indy\*.* md 
%NDCBuilderBackUp%\source\Indy >nul
if not exist %NDCBuilderBackUp%\source\Indy\Indy10\*.* md 
%NDCBuilderBackUp%\source\Indy\Indy10 >nul

if not exist %NDCBuilderBackUp%\source\Indy\Indy10\System\*.* md 
%NDCBuilderBackUp%\source\Indy\Indy10\System >nul
move %NDCBuilder%\source\Indy\Indy10\System\*.* 
%NDCBuilderBackUp%\source\Indy\Indy10\System

if not exist %NDCBuilderBackUp%\source\Indy\Indy10\Protocols\*.* md 
%NDCBuilderBackUp%\source\Indy\Indy10\Protocols >nul
move %NDCBuilder%\source\Indy\Indy10\Protocols\*.* 
%NDCBuilderBackUp%\source\Indy\Indy10\Protocols


if not exist %NDCBuilderBackUp%\source\Indy\Indy10\Core\*.* md 
%NDCBuilderBackUp%\source\Indy\Indy10\Core >nul
move %NDCBuilder%\source\Indy\Indy10\Core\*.* 
%NDCBuilderBackUp%\source\Indy\Indy10\Core

if not exist %NDCBuilderBackUp%\Help\*.* md %NDCBuilderBackUp%\Help >nul
if not exist %NDCBuilderBackUp%\Help\Doc\*.* md %NDCBuilderBackUp%\Help\Doc 
 >nul
if not exist %NDCBuilderBackUp%\Help\Doc\Indy\*.* md 
%NDCBuilderBackUp%\Help\Doc\Indy >nul
move %NDCBuilder%\Help\Doc\Indy\*.* %NDCBuilderBackUp%\Help\Doc\Indy

if not exist %NDCBuilderBackUp%\lib\*.* md %NDCBuilderBackUp%\lib >nul
if not exist %NDCBuilderBackUp%\lib\Indy10\*.* md 
%NDCBuilderBackUp%\lib\Indy10 >nul
move %NDCBuilder%\lib\Indy10\*.* %NDCBuilderBackUp%\lib\Indy10

if not exist %NDCBuilderBackUp%\lib\release\*.* md 
%NDCBuilderBackUp%\lib\release >nul
move %NDCBuilder%\lib\release\*Indy*.bpi %NDCBuilderBackUp%\lib\release
move %NDCBuilder%\lib\release\*Indy*.lib %NDCBuilderBackUp%\lib\release

if not exist %NDCBuilderBackUp%\lib\debug\*.* md 
%NDCBuilderBackUp%\lib\debug >nul
move %NDCBuilder%\lib\debug\*Indy*.bpi %NDCBuilderBackUp%\lib\debug
move %NDCBuilder%\lib\debug\*Indy*.lib %NDCBuilderBackUp%\lib\debug


if not exist %NDCBuilderBackUp%\lib\debug\Indy10\*.* md 
%NDCBuilderBackUp%\lib\debug\Indy10 >nul
move %NDCBuilder%\lib\debug\Indy10\*.* %NDCBuilderBackUp%\lib\debug\Indy10

goto EndExit
:enderrmsg
Echo Error ! ! !

:EndExit
Echo End Batch File
@Pause
_________________________________________________________ 
Technical Details
Message-ID: <476ecaa7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4765b072$1@newsgroups.borland.com> <4766b27c$1@newsgroups.borland.com> <4766c462$1@newsgroups.borland.com> <4766ce43@newsgroups.borland.com> <4766f66e$1@newsgroups.borland.com> <476700ff$3@newsgroups.borland.com> <476719a0$1@newsgroups.borland.com> <47674582$1@newsgroups.borland.com> <4767e8d4$1@newsgroups.borland.com> <476969f7$1@newsgroups.borland.com> <476c2185$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7a755873c3a4c5bd
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "roladdon" <roladdon@PutMyServerHere.ca>
From: "roladdon" <roladdon@PutMyServerHere.ca>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4765b072$1@newsgroups.borland.com> <4766b27c$1@newsgroups.borland.com> <4766c462$1@newsgroups.borland.com> <4766ce43@newsgroups.borland.com> <4766f66e$1@newsgroups.borland.com> <476700ff$3@newsgroups.borland.com> <476719a0$1@newsgroups.borland.com> <47674582$1@newsgroups.borland.com> <4767e8d4$1@newsgroups.borland.com> <476969f7$1@newsgroups.borland.com> <476c2185$1@newsgroups.borland.com>
Subject: Re: Update Indy10 in C++Builder 2007
Date: Sun, 23 Dec 2007 15:52:54 -0500
Lines: 92
Organization: AddOn
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 65.95.230.116
Message-ID: <476ecaa7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1198443175 65.95.230.116 (23 Dec 2007 12:52:55 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail