Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mtik00 on December 01, 2008, 10:36:21 pm

Title: Read-only files
Post by: mtik00 on December 01, 2008, 10:36:21 pm
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
Title: Re: Read-only files
Post by: MortenMacFly on December 02, 2008, 07:04:25 am
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.
Title: Re: Read-only files
Post by: gerardpuducul on December 11, 2008, 03:26:25 pm
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