by winston19842005 <bjjlyates@[EMAIL PROTECTED]
>
Jul 6, 2007 at 11:11 AM
On 7/6/07 10:39 AM, in article f6lk6i$9bu$1@[EMAIL PROTECTED]
"Rick Davey"
<rdavey@[EMAIL PROTECTED]
> wrote:
> What's the Pascal code to move a file? I need to move it to another
drive
> (possibly a UNC path).
This isn't really a programming language question, more of an
environment/OS
question. Languages usually don't contain OS-type functions, only a way to
call the OS-related function.
Except in the very VERY early days in the days of computers without REAL
OS
interfaces, in which case the code is:
Open input file
Open output file
Repeat until EOF(input)
Read record from input file
Write record to output file
Close output file
Close input file
If moving file, delete input file