Path to Desktop

M

Matt

Hi all,

I apologize if this is the wrong forum to be posting in...
I couldn't seem to find any documentation in the
Knowledgebase on this: In DOS, how do you locate the path
to the current user's Windows 2000 desktop folder?

I'm trying to create a simple batch file to copy a
shortcut to all users' desktops. The desktop path is
generally in the form

c:\winnt\profiles\xxxxxx\desktop

where xxxxxx is the user's network ID.

Thanks in advance for any suggestions.

Matt
 
K

Katherine Coombs

if you're wanting to copy it to all users' desktops, though, I'd use
"c:\documents and settings\all users\desktop" rather than doing it per user.

HTH,
Katherine
 

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