Renaming with a Name That Exists
ANSI 4.9.4.2 The effect if a file with the new name exists prior to a call to the rename function
If you attempt to rename a file using a name that exists, the rename function fails and returns an error code.
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
ANSI 4.9.4.2 The effect if a file with the new name exists prior to a call to the rename function
If you attempt to rename a file using a name that exists, the rename function fails and returns an error code.