From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,735898eec77c3ed7 X-Google-Attributes: gid103376,public From: Kieran Mckey Subject: Re: How do I rename in ada? Date: 1997/03/28 Message-ID: <5hg80u$r1m@gcsin3.geccs.gecm.com>#1/1 X-Deja-AN: 230444758 References: <3339E226.584C@concentric.net> Organization: GEC Marconi Radar and Defence Systems Ltd Newsgroups: comp.lang.ada Date: 1997-03-28T00:00:00+00:00 List-Id: Kevin Burns wrote: >I'm a programming student, and ada is the only language that I have >experience with. I need a personal program which will read all file >names in a directory, and then using if,then conditions it will rename >certain files. What I need to know is how to do the actual renameing, >and how to read the directory. I think I can do the rest of the code. I >would like to avoid having to read in the whole file, and resave it >under another name if possible. > >Thank's in advance, >Kevin (kjburns@concentric.net) You need to specify what operating system and target processor you are writing your program for. Really this is not a Ada question , there is no language support for the functionalilty you require, it is a operating system problem. You may be better off posting this question to the new group that deals with your target operating system. Kieran