News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Read-only files

Started by mtik00, December 01, 2008, 10:36:21 PM

Previous topic - Next topic

mtik00

This has to be a simple thing...  I just can't find it.

How can I clear the read-only flag on a file from Code::Blocks?  I'm using Code::Block in a MS Windows environment.

With other IDE's, I can either clear it manually through right-clicking something, or get a prompt when I try to change it (preferred).  This works great with our source code control system (ClearCase) as it just hijacks the files and they're really easy to find.

Am I missing something?

Thanks,

-Tim

MortenMacFly

Quote from: mtik00 on December 01, 2008, 10:36:21 PM
How can I clear the read-only flag on a file from Code::Blocks?
This feature is not implemented in the core as it depends heavily on the platform you are running C::B on. However - there are two possibilities:
1.) Try the ShellExtensions plugin. This provides the functionality you are asking for
2.) Use the (Windows) explorer to clean the ReadOnly flag. I setup the explorer as tool to do so. Using macros it starts up in the path where the file is.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

gerardpuducul

hy all

excuse me to coming in this topic but i have the same question !! :?

I have installed shell extension (0.2) but haven't seen anything about read only? where is this feature?

thanks