I have written a c# application that it is installed as many instances, on different directories defined by the user.
Our application includes a default set of data.The default data includes coefficients and other factors that are unlikely to ever change but still need to be update-able by the user.
I looked all over the internet and there doesn\'t seem to b开发者_StackOverflowe a decent solution that I could find. I want to be able to programmatically in C++ obtain the path \"%ALLUSERSPROFILE%\\
Can anybody help me writing a regular expression to replace these characters with a empty string. Character list is given below.
The application I am working with writes to the User\\Application Data folder on XP and the AppData\\Roaming folder on Vista. On one of the Vista machines the AppData\\Roaming folder is not present. A