🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3536

Re: Behaviour if Findfirst/Findnext

#3536
From: Bruce Salzman
Date: Thu, 25 May 2006 17:02
13 lines
1410 bytes
"Jos�" <jose@127.0.0.1> wrote in message 
news:ovnb72hoepr9mer64jeikc1pth6t427c5l@4ax.com...
> In fact I am making a program which renames all files sequentially.
> Therefore the order of files is important to me. Furthermore, funny
> things might happen if a file is found again after having been
> renamed.

Then I would read them all at once, sort them however you want, 
generate the new names, then finally rename them.

-- 
Bruce 
Technical Details
Message-ID: <4475e314$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <5v4b725541pgl6mgme0m2sc5n0ni1bm94p@4ax.com> <4475d95a$1@newsgroups.borland.com> <ovnb72hoepr9mer64jeikc1pth6t427c5l@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,57df08767886389
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: " Bruce Salzman" <bruce@nospam.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <5v4b725541pgl6mgme0m2sc5n0ni1bm94p@4ax.com> <4475d95a$1@newsgroups.borland.com> <ovnb72hoepr9mer64jeikc1pth6t427c5l@4ax.com>
Subject: Re: Behaviour if Findfirst/Findnext
Date: Thu, 25 May 2006 12:02:17 -0500
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.94.228.231
Message-ID: <4475e314$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148576532 24.94.228.231 (25 May 2006 10:02:12 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail