Author Topic: Read-only files  (Read 4201 times)

mtik00

  • Guest
Read-only files
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Read-only files
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline gerardpuducul

  • Single posting newcomer
  • *
  • Posts: 8
Re: Read-only files
« Reply #2 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