Date: Tue, 9 Jan 2001 16:26:04 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: kim# cc: djgpp AT delorie DOT com Subject: Re: C++ Help?????? In-Reply-To: <93f1nv$l7c@newton.cc.rl.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 9 Jan 2001, kim# wrote: > I need to locate a number of zip files in the c directory and move them to > a folder. Can someone please point me in the right direction. I am now > able to create the folder , i just need to know who to locate the zip files > and move them. You could use `findfirst'/`findnext' functions to find the files, and the `rename' function to move them. `findfirst' and `findnext' are not portable, though. If you want a portable solution, use `glob' or `opendir'/`readdir' and `fnmatch'.