Finding Desktop Path

  • Thread starter Thread starter Danielle
  • Start date Start date
D

Danielle

I need to copy a shortcut to the "All Users" desktop on
various computers -- including NT, 2000, and XP. This is
not a big problem if they're all English OSes, since I can
just use all options like C:\WINNT\Profiles\All
Users\Desktop, C:\Documents and Settings\All
Users\Desktop, etc.
But -- I also have clients that are set up in French,
Polish, Romanian, Chinese, etc. And the desktops point to
different locations like "C:\Documents and Settings\all
users\Bureau\" for French W2K and WXP... I'm not even
sure where the location of the other desktops are. Is
there some registry setting, or variable that contains the
path to the desktop??
Thanks!
 
Danielle said:
I need to copy a shortcut to the "All Users" desktop on
various computers -- including NT, 2000, and XP. This is
not a big problem if they're all English OSes, since I can
just use all options like C:\WINNT\Profiles\All
Users\Desktop, C:\Documents and Settings\All
Users\Desktop, etc.
But -- I also have clients that are set up in French,
Polish, Romanian, Chinese, etc. And the desktops point to
different locations like "C:\Documents and Settings\all
users\Bureau\" for French W2K and WXP... I'm not even
sure where the location of the other desktops are. Is
there some registry setting, or variable that contains the
path to the desktop??
Thanks!

Hi

The "Common Desktop" value under
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
should give you what you want...
 
Danielle said:
I need to copy a shortcut to the "All Users" desktop on
various computers -- including NT, 2000, and XP. This is
not a big problem if they're all English OSes, since I can
just use all options like C:\WINNT\Profiles\All
Users\Desktop, C:\Documents and Settings\All
Users\Desktop, etc.
But -- I also have clients that are set up in French,
Polish, Romanian, Chinese, etc. And the desktops point to
different locations like "C:\Documents and Settings\all
users\Bureau\" for French W2K and WXP... I'm not even
sure where the location of the other desktops are. Is
there some registry setting, or variable that contains the
path to the desktop??
Thanks!

Hi

The "Common Desktop" value under
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
should give you what you want...
 
Awesome!! That's exactly what I needed! Thanks!
-----Original Message-----


Hi

The "Common Desktop" value under
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Sh ell Folders
should give you what you want...


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


.
 
Awesome!! That's exactly what I needed! Thanks!
-----Original Message-----


Hi

The "Common Desktop" value under
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Sh ell Folders
should give you what you want...


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


.
 
Back
Top