Which \Windows subfolder is the same (common) across all WindowsNT OS?

  • Thread starter Thread starter Eduardo
  • Start date Start date
Hello,
I need to know which one of WindowsNT subfolders (except
System32) have the same name and exist in all WindowsNT OS.
Is there some comparision chart to show that?
Thanks,
Jack
 
¤ Hello,
¤ I need to know which one of WindowsNT subfolders (except
¤ System32) have the same name and exist in all WindowsNT OS.
¤ Is there some comparision chart to show that?

There is no such thing and the sub folders will vary depending upon the software that is installed.
How would this information be useful to you?


Paul
~~~~
Microsoft MVP (Visual Basic)
 
¤ I need to know which one of WindowsNT subfolders (except
¤ System32) have the same name and exist in all WindowsNT OS.
¤ Is there some comparision chart to show that?

[cut] and the sub folders will vary depending upon the software that is
installed.

I've never seen software that change the Fonts location (for example), but
anything is possible. I think i remember it was there back from Windows 3.x.
 
I need to know which one of WindowsNT subfolders (except
System32) have the same name and exist in all WindowsNT OS.
Is there some comparision chart to show that?

Here they are:
..
...
 
Jack said:
Hello,
I need to know which one of WindowsNT subfolders (except
System32) have the same name and exist in all WindowsNT OS.
Is there some comparision chart to show that?

There maybe some, but there is no guarantee that they will exist in feature
versions. Also, members of the limited "Users" group can't write to
"Windows" or "Program Files" or any of their subfolders. If you want
writable location, use SHGetSpecialFolderLocation() with CSIDL_APPDATA for
per user data, or CSIDL_COMMON_APPDATA for per computer data. If you use
CSIDL_COMMON_APPDATA, then you need to modify the permissions on the folder.
If you are using Inno Setup, this can be done with one line:

[Dirs]
Name: "{commonappdata}\MyCompany\MySoftware"; Permissions: users-full

See this post for full details:

http://groups.google.com/group/microsoft.public.vb.general.discussion/msg/918867eb1e6fda74?hl=en

See also this SHGetSpecialFolderLocation sample:

http://news.jrsoftware.org/news/innosetup/msg69444.html
 
Jack said:
Hello,
I need to know which one of WindowsNT subfolders (except
System32) have the same name and exist in all WindowsNT OS.
Is there some comparision chart to show that?
Thanks,
Jack



Well, you would have to not include NT4 and Win2000 (and almost certainly
NT3.x) as the Windows folder is called WINNT on them.

ss.
 
Well, you would have to not include NT4 and Win2000 (and almost certainly
NT3.x) as the Windows folder is called WINNT on them.
Unless he can use enviroment variables instead of hardcoded paths.
 
Poutnik said:
Unless he can use enviroment variables instead of hardcoded paths.

Yeah, the OP could use %systemroot%, depending on what he is trying to do.

ss.
 
Jeff,

I had tot think, but because of the reply from Jan I got a big smile as
well, when I understood it.

Cor
 
Back
Top