Finding Desktop Path

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!
 
T

Torgeir Bakken (MVP)

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...
 
T

Torgeir Bakken (MVP)

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...
 
G

Guest

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


.
 
G

Guest

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


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top