User forums > Help

Rename file functionality

(1/3) > >>

skirby:
Hello,

I have a question about Rename File functionality.
For example, I would like to rename file from main.h to Main.h
Code::Blocks display an error message (see below)


Is it normal behavior or is it a bug?


Thanks and have a nice day.

kkez:
Did you read that error by any chance? It says Main.h already exists, so it cannot rename the file (that would mean overwrite the file, is this what you want?).

killerbot:
thanks to windows : not case sensitive

skirby:
Hello kkez,

Sure I have read the message.
What I want to do is rename Main.h in main.h like you could do in windows Explorer.

In fact, I would like to know if is it normal that C::B isn't able to rename a file with the same name but with a different case.

rickg22:
I've had that problem in Windows outside codeblocks.

Here's your howto:

1) ren Main.h dummy.h
2) ren dummy.h main.h

:) ta-da!

Navigation

[0] Message Index

[#] Next page

Go to full version