Page 1 of 1
GetSystemInfo()
Posted: Sat Dec 29, 2012 3:30 pm
by djrikki
Hello,
General questions and call for improvement/alternative solution.
1) What is the difference between ProgramFiles and AppData please give solid example.
2) table.Downloads would be very beneficial as well.
3) This command doesn't work under MacOS X - can you extend this to MacOS X?
4) If you cannot the command to MacOS X - how do I find out the path to the /Applications folder?
Thanks in advance.
Re: GetSystemInfo()
Posted: Sun Dec 30, 2012 11:22 pm
by djrikki
Ignore point 1 worked out myself in the meantime.
Don't suppose point 2 is also relevant - isn't the Downloads folder in Windows always contained with My Documents and titled Downloads?
Re: GetSystemInfo()
Posted: Sun Dec 30, 2012 11:26 pm
by airsoftsoftwair
djrikki wrote:Hello,
1) What is the difference between ProgramFiles and AppData please give solid example.
ProgramFiles is where the programs go (usually "C:\Program Files" or "C:\Program Files (x86)" on 64-bit systems). AppData is where application specific data is stored, e.g. in "C:\Users\....\AppData\Roaming\Microsoft\ProgramName".
2) table.Downloads would be very beneficial as well.
On Windows you can easily find this out by reading the registry. Just use Google to find out the registry key under which the downloads path is stored and then use ReadRegistryKey() on it.
3) This command doesn't work under MacOS X - can you extend this to MacOS X?
For ProgramFiles this is possible, but there's no AppData location on Mac. AppData is Windows-specific.
4) If you cannot the command to MacOS X - how do I find out the path to the /Applications folder?
Not sure if that's possible. Try to use Google to find out where this is stored. It might be possible that it is inside an environment variable or some prefs file which you can read from Hollywood. I don't know it by heart.
Re: GetSystemInfo()
Posted: Sun Dec 30, 2012 11:28 pm
by airsoftsoftwair
djrikki wrote:Ignore point 1 worked out myself in the meantime.
Too late
Don't suppose point 2 is also relevant - isn't the Downloads folder in Windows always contained with My Documents and titled Downloads?
No, this can be changed by the user if he adapts the corresponding registry keys.
Re: GetSystemInfo()
Posted: Sun Dec 30, 2012 11:31 pm
by djrikki
Right-e-o, I'll take a look at the win register in the morning.