question about rename()
Moderator: General Moderators
question about rename()
will it overwrite if there is already a file there? i need to know if a later thing i'm going to be doing needs to delete the file or not
On *nix, yes.
On win, no.
Because on *nic systems, the rename command first removes the 'link' then replaces it with the new (i think).
On Windows, well... Rename does whats its named.
On win, no.
Because on *nic systems, the rename command first removes the 'link' then replaces it with the new (i think).
On Windows, well... Rename does whats its named.
Last edited by JAM on Sat Aug 09, 2003 7:31 pm, edited 1 time in total.
i have an issue with anyone who thinks winblows is meant for programming of any type.
how can you construct a solid program on a operating system that's full of memory leaks?
in all honesty, as someone i know that's done sys admin for about a decade once said "a computer should never NEED to be restarted short of a major kernel change, unless you're talking about windows"
the reason windows NEEDS it is the inherint memory leaks.
you cannot program on that and stop your memory leaks and make a solid program. you can port there and java makes that simple as pie, but don't create there.
(yeah, i started out a programmer, not a scripter.)
how can you construct a solid program on a operating system that's full of memory leaks?
in all honesty, as someone i know that's done sys admin for about a decade once said "a computer should never NEED to be restarted short of a major kernel change, unless you're talking about windows"
the reason windows NEEDS it is the inherint memory leaks.
you cannot program on that and stop your memory leaks and make a solid program. you can port there and java makes that simple as pie, but don't create there.
(yeah, i started out a programmer, not a scripter.)
just becasue most people are way too stupid to use a well made operating system doesn't mean that the servers shouldn't be stable. i understand giving workstations as winblows when you're not in a development environment, but beyond that it's called "the people in charge are idiots" (ie: it's ripped outta dilbert)