![]() |
|
#1
|
|||
|
|||
Path to 'Microsoft Shared' folderHow can I find a path to the 'Microsoft Shared' folder in any type of Windows operating system in any configuration?
The most common path is 'C:\Program Files\Common Files\Microsoft Shared'. But it may be not always the same (different boot disk...). Is there any function of Windows API that I can use or Registry entry that will be the same for any configuration? I tried SHGetFolderPath function with CSIDL_PROGRAM_FILES_COMMON parameter, but this parameter valid only for Windows NT, Windows 2000 and Windows XP systems. What can I use for Windows 95,98,Me? Thank you very much in advance, a_k_ |
|||
|
#2
|
|||
|
|||
|
This may not be helpful, but are there a similar parameters for 95, 98, Me?
Then depending on which operating system is being used, you can use the appropriate parameter. It's probably not that easy, but I thought I'd try to help. GOOD LUCK! |
|
#3
|
|||
|
|||
|
Quote:
The problem is that there is no similar parameters for 95, 98, Me. a_k_ |
|
#4
|
||||
|
||||
|
I believe the registry contains entries that tell all programs where to find system folders like %WINDOWSDIR% or %FAVORITES%. Anyways, the point is that they exist, they can be found, I don't know where they are, and don't mess with'em if you do find them, because they can cause harm and confusion if they're moved without warning :-P
__________________
-Aaron |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
Well, obviously you'd need knowledge of registry access.
__________________
-Aaron |
|
#7
|
|||
|
|||
|
Well it's in the registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\SharedFilesDir I'll let you figure out how to get that! GF |
|
#8
|
|||
|
|||
|
Thank you very much for the valuable information. It helped me a lot.
a_k_ |
Recent GIDBlog
Not selected for officer school by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shortest path algorithm and file saving | Pandiani | C++ Forum | 10 | 17-Jul-2006 10:46 |
| Writing image to folder | misunderstood | MySQL / PHP Forum | 4 | 17-Jun-2004 07:18 |
| shared memory and semaphores... | socket | C Programming Language | 1 | 15-Feb-2004 09:54 |
| Microsoft to block Trillian from MSN messenger on October 15th | jrobbio | Computer Software Forum - Windows | 1 | 12-Sep-2003 18:35 |
| Microsoft users warned of serious flaw | jrobbio | Computer Software Forum - Windows | 3 | 25-Mar-2003 08:52 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The