What is the command to type in the Windows Run that opens the user's Startup directory?

  • it's of a format similar to %windir% for Windows and %appdata% for application data
  • the site Computer Productivity has lots of the shortcuts, but not Startup

I'm trying to reduce RSI, so I try to use keyboard shortcuts for as much as possible.

link|improve this question

80% accept rate
"binged" is why Micros~1 search engines keep failing. – grawity Jun 2 '09 at 7:49
Just completed my answer, with a suggestion as to where you could have seen a shorter version of that directory. – VonC Jun 3 '09 at 6:08
"Keyboard shortcut" is used for key combinations like Ctrl-C rather than typed commands (even if those commands save time). – Roger Pate Aug 29 '10 at 20:45
feedback

migrated from stackoverflow.com Sep 4 '10 at 6:45

This question came from our site for professional and enthusiast programmers.

6 Answers

up vote 2 down vote accepted

It's the "shell" command. For example, I can type

shell:startup

in the Run dialog to pop open the \Start Menu\Programs\Startup directory.

There are a LOT of the "shell" commands, and a long listing is at Access special folders easily using the shell command.

link|improve this answer
feedback

Create a small VBS program startup.vbs:

set objShell = CreateObject("WScript.Shell")
objShell.Run("""" & objShell.SpecialFolders("Startup") & """")

This would open current user's startup folder in Windows Explorer. This would work in every still supported Windows version, in every language.

You can use "AllUsersStartup" instead of "Startup" if you need. You can read about SpecialFolders property here.

link|improve this answer
Nice tip - I'm trying to use PowerShell for all my scripting, and it's easy to forget the good things that are in VBScript – SteveC Jun 4 '09 at 6:09
feedback
"%USERPROFILE%\Start Menu\Programs\Startup"

does work on Windows XP.

As far as I can tell, there are no further shortcuts. You can see here a list of all variables and there is no other way to reference Startup.

However, you may have seen a shorter version in some scripting language macros, like Autoit:

@StartupDir     current user's Startup folder
link|improve this answer
yeah I got that, but I've got this annoying recollection of a tip which was a lot shorter – SteveC Jun 2 '09 at 15:05
feedback
Start Menu\Programs\StartUp

If it doesn't work, try:

%UserProfile%\Start Menu\Programs\StartUp

Or you can go define your own variable - %st% for example. In Windows XP it was under System Properties - Environment.

Also, the Command Prompt, combined with tab completion and doskey aliases is pure awesomeness, in my opinion.

link|improve this answer
feedback

The variable is %username%. So, for my account (roaming) in Windows Vista:

  • Start, run,

  • C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

link|improve this answer
feedback

For Windows 7 or Windows Vista, start run:

c:\ProgramData\Microsoft\Windows\Start Menu\Programs\startup
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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