Hi:My work machine has WinXP in Spanish and the ‘My Documents’ folder is localized to ‘Mis Documentos’, but my portable has a multi-language WinXP installed and ‘My Documents’ is just called ‘My Documents’ (logical!)When I create a project to compile my Visual Studio 2005 projects I have to manually edit the solution paths.Is there a way I can get around this problem? Maybe using environment macros similar to PATH.TIA,Martin.
Hi Martin,
Thanks for your email. I have a few ideas:
One option is to define a FinalBuilder Variable (go to Tools -> Edit Variables) to map to your My Documents directory (call it %MyDocuments% or something similar) and then insert it in the project paths wherever you need them ie (ie %MyDocuments%\Project1\MyProject.sln
The other option is to make everything relative to the %FBPROJECTDIR% variable, which is the directory that the FinalBuilder project is in. This is actually the option I’d recommend, because I can’t see a simple way to get the My Documents directory path as an environment variable.
Finally, you have the option of either using ''subst" to map the My Documents directories to a virtual drive letter (ie drive I:) and using that, or creating an NTFS symlink from My Documents to Mis Documentos (or vice versa), which makes the two directories look the same. These are Windows-based solutions (obviously), and you can probably find some information about either on the web.
Regards,
Angus
Angus:Thanks for the extensive and very complete answer.I am going to try solution 2 first and if that does not meet my needs, I try option 1.Thanks once again,Martin.