Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!think.com!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: mv'ing files from a C program Message-ID: <14480@smoke.brl.mil> Date: 15 Nov 90 21:07:56 GMT References: <22@mixcom.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 4 In article <22@mixcom.UUCP> ggvvgg@mixcom.UUCP (Dave Fenske) writes: >Is there an easy way to do an 'mv' from a C program? Use the rename() function if you have it, otherwise system("mv...").