[Mingw-w64-public] alias in Windows

2013-08-20 Thread Incongruous
Look, I know this question has nothing to do with either Netbeans or MinGW64, 
but I cannot think of a better bunch to ask this question.

On one hand the directory tree where my applications reside is a bit long and 
on the other hand I have seen how Wind 7 uses the aliases like %USERPROFILE% as 
a parameter for commands like dir. I would like to create an alias for my 
development path, i.e.

C:\Users\Arbol 
One\Documents\dev\C++\Applications\development\intence\ruch\Donald 
Duck\BatGirl\FidelCastro\Bush_Baboon\Speaker\nom\final\app\

 

I mean adding

#include C:\Users\Arbol 
One\Documents\dev\C++\Applications\development\intence\ruch\Donald 
Duck\BatGirl\FidelCastro\Bush_Baboon\Speaker\nom\final\app\header.hpp

to C++ header file is a bit annoying.

I checked the Environment Variables in the System's Properties of Windows 7, 
but I noticed that %USERPROFILE% in not declared there. I could experiment by 
adding the variable there, but I am afraid to break something in Windows, I 
really need to learn more about this OS

 

Thanks

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] alias in Windows

2013-08-20 Thread TOCK Chiu
You may specify the include folder by pass -I parameter to GCC.
I think this is a better solution because it won't mess the environment
variables up.
For example pass -IC:\Users\Arbol
One\Documents\dev\C++\Applications\development\intence\ruch\Donald
Duck\BatGirl\FidelCastro\Bush_Baboon\Speaker\nom\final\app\ to gcc and use
#includeheader.hpp in your app.




2013/8/20 Incongruous incongru...@outlook.com

 Look, I know this question has nothing to do with either Netbeans or
 MinGW64, but I cannot think of a better bunch to ask this question.

 On one hand the directory tree where my applications reside is a bit long
 and on the other hand I have seen how Wind 7 uses the aliases like
 %USERPROFILE% as a parameter for commands like dir. I would like to create
 an alias for my development path, i.e.

 C:\Users\Arbol
 One\Documents\dev\C++\Applications\development\intence\ruch\Donald
 Duck\BatGirl\FidelCastro\Bush_Baboon\Speaker\nom\final\app\

 ** **

 I mean adding

 #include C:\Users\Arbol
 One\Documents\dev\C++\Applications\development\intence\ruch\Donald
 Duck\BatGirl\FidelCastro\Bush_Baboon\Speaker\nom\final\app\header.hpp

 to C++ header file is a bit annoying.

 I checked the Environment Variables in the System's Properties of Windows
 7, but I noticed that %USERPROFILE% in not declared there. I could
 experiment by adding the variable there, but I am afraid to break something
 in Windows, I really need to learn more about this OS

 ** **

 Thanks


 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public