Re: [Hla-stdlib-talk] [aoaprogramming] fileio.move("combolist1.txt","combolist.txt");
Brought to you by:
evenbit
From: Frank K. <fbk...@co...> - 2006-07-28 21:57:55
|
hmmm, I cc'd this to hla-stdlib-talk, but it didn't show up... well, that's the "SourceForge way" - ya gotta do everything twice... since this was intended more as a "topic for discussion" on this list, than for aoaprogramming per se, I'll try it again... Randall Hyde wrote: > Like file.move, this went bye-bye. > The problem is that these two routines were win32 only and the library > routines were not portable. > If you want FileMove and FileCopy operations under Windows, you can call > the Win32 APIs to do these tasks. Cop out! If Nick wants to do it on Linux or BSD he's out of luck? (I assume he's using Windows, but maybe would like it to be "portable"?) A simple one-to-one rename like Nick wants is trivial in Linux, but I assume the Windows APIs handle such things as "wildcards", and recursive copying of subdirectories and stuff that's not so trivial. (a comment in "cp.asm" in asmutils says, "recursive copy is a bitch, but what the hell, we're ASM programmers!") I'd hate to wake up in the morning and read in the paper, "Portable Library stopped dead in its tracks by file copy!". You don't mean "gone bye-bye", you mean "the portable version is not available *yet*"... doncha? Best, Frank |