32

Is there an exhaustive list of command-line switches for Windows Explorer? I know /separate is undocumented in this knowledgebase article as well as this one.

16

I would suggest looking at Geoff Chappell's page about explorer's command line switches. It lists all of the switches that Justin mentions along with the /idlist switch (though using this requires raw memory access, so it would probably be more interesting on SO than here on SU). The syntax for each switch is given, and some esoteric details regarding item specifiers are also explained.

14
  • /separate - Launches this explorer instance as a separate process.
  • /select [object] - selects the file or folder in the new explorer window
  • Opens a new single-pane Window for the default selection. This is usually the root of the drive on which Windows is installed.
  • /e Starts - Windows Explorer using its default view.
  • /root - Opens a window view of the specified object.
  • 5
    It might not be obvious for the reader, but you need to append a comma after the command line switch. For instance: explorer /seperate C:\temp is not valid and will open a default location. You need to use explorer /seperate, C:\temp. – Sebazzz Feb 8 '17 at 12:06
  • @Sebazzz FYI: it’s /separate, not /seperate. – Martijn Aug 29 '18 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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