User forums > General (but related to Code::Blocks)

Environment Variable

(1/2) > >>

puneet_m:
I have set an environment variable in my Code-Block project ABC. Now I am trying to read the file in project abc which stores the path with environment variable included in that. Will Code-Block be able to read the file using that environment variable?

Biplab:

--- Quote from: puneet_m on November 01, 2007, 07:34:08 pm ---I have set an environment variable in my Code-Block project ABC. Now I am trying to read the file in project abc which stores the path with environment variable included in that. Will Code-Block be able to read the file using that environment variable?

--- End quote ---

Why don't you try it on your own?? :shock:

Instead of asking others for a solution without even touching the problem, give it a try first. You know your requirements better than others.

dmoore:
all processes spawned by cb should respect the environment vars that you set. but I agree with biplab, why don't you experiment with this before posting.

also, this post belongs in help or general, not in development.

puneet_m:
I have tried that, but code-Block is not reading it.

Thanks,

dmoore:
be a little more specific about what you are actually doing.

Navigation

[0] Message Index

[#] Next page

Go to full version