in linux ~/Desktop is a shortcut for /path/to/my/desktop/ is there a windows equivalent?

link|improve this question

69% accept rate
feedback

1 Answer

up vote 10 down vote accepted

Yes in fact.

%USERPROFILE%\Desktop
link|improve this answer
1  
You may want to put quotes around that in practical usage, as the %userprofile% path often has spaces in it (i.e. C:\documents and settings\ ). – nhinkle Dec 29 '10 at 18:44
@nhinkle Only in XP and 2k. – digitxp Dec 29 '10 at 18:58
1  
True, but usernames can have spaces too. It's not critical to the answer, but I thought I'd add the note for people reading this question in the future. – nhinkle Dec 29 '10 at 19:07
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.