I want to include the path to a library in the Program Files directory, but I need to do this without spaces. I know that Windows uses a convention that shortens names like
Program Files becomes
PROGRA~1. How can I find these shortened names for an arbitrary directory?
(Apologies if this has already been asked but I couldn't find it.)