User forums > Using Code::Blocks

use a project on ramdisk

(1/2) > >>

MoonKid:
I want to use my project on ramdisk.
For that I need a to copy the project to ramdisc if I open it, an copy it to harddisc if I save and close it.

In the project settings could be two fields for "command before open" and "command after close". I can start scripts with it.

Is it possible now?
Would this be needfull for C::B, so I can make a feature request?

Game_Ender:
You can already do this with a simple batch file.  Just run it instead of codeblocks.  Every time the batch files is run it copies your "project" (which I assume include all your source files too) to your Ram disk, then invokes codeblocks with your project file name as a command line parameter.  On the next line on the batch file just have a command to copy all the files back.  This line won't be run untill you close codeblocks.

GLfoat:

--- Quote from: MoonKid on February 23, 2006, 08:36:50 pm ---I want to use my project on ramdisk.
For that I need a to copy the project to ramdisc if I open it, an copy it to harddisc if I save and close it.

In the project settings could be two fields for "command before open" and "command after close". I can start scripts with it.

Is it possible now?
Would this be needfull for C::B, so I can make a feature request?

--- End quote ---

indeed, i wonder how coldblocks could exist without this feature until now !

maybe we could have a feature to copy coldbocks itself into the ramdisk to speed up the starting process ?
if any of the very helpfull peple here would help me, i could make a feater requist, i read about this in an other posting

thomas:
Why would anyone want to use a ramdisk, anyway?

Or are you talking about something like Gigabyte's i-Drive?

Michael:

--- Quote from: GLfoat on February 23, 2006, 09:58:31 pm ---indeed, i wonder how coldblocks could exist without this feature until now !

--- End quote ---

Ehm....CodeBlocks and not coldblocks..... :roll:

Anyway, who are/would using/use a ram disk now (as thomas said) :?? I had the possibility to create a ram disk on my "relatively" old Mac, but on PC...

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

Go to full version