{"id":3453,"date":"2010-04-18T20:27:45","date_gmt":"2010-04-19T03:27:45","guid":{"rendered":"http:\/\/lee.org\/blog\/?p=3453"},"modified":"2011-11-05T10:04:42","modified_gmt":"2011-11-05T17:04:42","slug":"how-to-start-windows-explorer-with-different-options","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2010\/04\/18\/how-to-start-windows-explorer-with-different-options\/","title":{"rendered":"How to Start Windows Explorer with Different Options"},"content":{"rendered":"<p>This is old info but I needed to refer to it after my Windows reinstall so I&#8217;ll just put it here for easy reference.<\/p>\n<p><a href=\"http:\/\/support.microsoft.com\/kb\/152457\">Windows Explorer Command-Line Options<\/a><\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<pre>\r\nExplorer [\/n] [\/e] [(,)\/root,&lt;object&gt;] [\/select,&lt;object&gt;]<\/code>\r\n\r\n\/n                Opens a new single-pane window for the default\r\nselection. This is usually the root of the drive Windows\r\nis installed on. If the window is already open, a\r\nduplicate opens.\r\n\r\n\/e                Opens Windows Explorer in its default view.\r\n\r\n\/root,&lt;object&gt;    Opens a window view of the specified object.\r\n\r\n\/select,&lt;object&gt;  Opens a window view with the specified folder, file or\r\napplication selected.\r\n\r\nExamples:\r\n\r\nExample 1:     Explorer \/select,C:\\TestDir\\TestApp.exe\r\n\r\nOpens a window view with TestApp selected.\r\n\r\nExample 2:  Explorer \/e,\/root,C:\\TestDir\\TestApp.exe\r\n\r\nThis opens Explorer with C: expanded and TestApp selected.\r\n\r\nExample 3:  Explorer \/root,\\\\TestSvr\\TestShare\r\n\r\nOpens a window view of the specified share.\r\n\r\nExample 4:  Explorer \/root,\\\\TestSvr\\TestShare,select,TestApp.exe\r\n\r\n<\/pre>\n<p>.<\/p>\n<p>.<\/p>\n<p>.<\/p>\n<p>.<\/p>\n<p>Here it is explained in a slightly different way:<\/p>\n<p>This page was lifted from <a href=\"http:\/\/cpcug.org\/user\/clemenzi\/technical\/WinExplorer\/CommandLineOptions.htm\">http:\/\/cpcug.org\/user\/clemenzi\/technical\/WinExplorer\/CommandLineOptions.htm<\/a>. <\/p>\n<p><! ********************************************************>Parameters are <\/p>\n<p>separated by commas. Many combinations are allowed, but only a few examples are <\/p>\n<p>given. <PRE>Explorer.exe c:\\                Open directory as a single pain of icons<\/p>\n<p>Explorer.exe \/e,c:\\             Explore drive as 2 lists &#8211; <\/p>\n<p>                                  directories on left &amp; files on right<\/p>\n<p>Explorer.exe \/e,\/root,c:\\       Explore drive without showing other drives<\/p>\n<p>Explorer.exe \/n,\/e,\/select      Opens showing only drives<\/p>\n<p>Explorer.exe \/e,\/idlist,%I,%L   From Folder\\..\\Explore in the registry<\/p>\n<p>                                  %I &#8211; ID number<\/p>\n<p>                                  %L &#8211; Long filename<\/p>\n<p>Explorer.exe  \/e,DriveOrDirectory<\/p>\n<p>Explorer.exe  \/e,\/root,directory,sub-directory<\/p>\n<p>Explorer.exe  \/e,\/root,directory,\/select,sub-directory<\/p>\n<p><\/PRE><\/p>\n<p><TABLE><\/p>\n<p>  <TBODY><\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/e <\/p>\n<p>    <TD>List (explorer) view, Show large icons if missing (Open view) <\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/root <\/p>\n<p>    <TD>Sets the top level folder. <\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/select <\/p>\n<p>    <TD>Specifies that the directory should be selected without displaying its <\/p>\n<p>      contents. <\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/s <\/p>\n<p>    <TD>???? <\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/n <\/p>\n<p>    <TD>Do not open the selected directory, no effect on NT <\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/idlist,%I <\/p>\n<p>    <TD>Expects an ID\/handle. May help with cacheing. By itself, opens the <\/p>\n<p>      desktop as icons. <\/p>\n<p>  <TR><\/p>\n<p>    <TD>\/inproc <\/p>\n<p>    <TD>Stops display of window (I don&#8217;t know why this is useful) <\/p>\n<p>  <TR><\/p>\n<p>    <TD><\/p>\n<p>  <TR><\/p>\n<p>    <TD><\/TR><\/TBODY><\/TABLE><\/p>\n<p><P>Windows Explorer contains 7 icons. In 95 and NT, the 3rd and 4th are <\/p>\n<p>different. Use <\/p>\n<p><UL>C:\\WINDOWS\\SYSTEM\\SHELL32.DLL<\/UL>for more options. <\/p>\n<p><HR><\/p>\n<p><! ********************************************************><\/p>\n<p><CENTER><\/p>\n<p><H3>References<\/H3><\/CENTER><\/p>\n<p><P>I have not found a single reference explaining all the options. Some <\/p>\n<p>parameters were found by searching the registry, some are from the sources <\/p>\n<p>below, and a few are from browsing the executable. <\/p>\n<p><UL><\/p>\n<p>  <LI><A href=\"file:\/\/\/c:\/windows\/tips.txt\">C:\\WINDOWS\\TIPS.TXT<\/A> (95 only) <\/p>\n<p>  provides basic command line help. Search for <B>explorer<\/B>. <\/p>\n<p>  <LI>Additional notes are provided <A \n\n  href=\"http:\/\/www.skwc.com\/Beyond\/explorer.html\">here<\/A>. <\/LI><\/UL><\/p>\n<p><HR><\/p>\n<p><! ********************************************************><\/p>\n<p><ADDRESS>Author: Robert Clemenzi &#8211; <A \n\nhref=\"mailto:clemenzi@cpcug.org?subject=WinExplorer - CommandLineOptions.htm\">mailto:clemenzi@cpcug.org?subject=WinExplorer <\/p>\n<p>&#8211; CommandLineOptions.htm<\/A> <\/ADDRESS><\/p>\n<p><H5>URL: http:\/\/ <A href=\"http:\/\/cpcug.org\/\">cpcug.org<\/A> \/ <A \n\nhref=\"http:\/\/cpcug.org\/user\/\">user<\/A> \/ <A \n\nhref=\"http:\/\/cpcug.org\/user\/clemenzi\/\">clemenzi<\/A> \/ <A \n\nhref=\"http:\/\/cpcug.org\/user\/clemenzi\/technical\">technical<\/A> \/ <A \n\nhref=\"http:\/\/cpcug.org\/user\/clemenzi\/technical\/WinExplorer\/index.htm\">WinExplorer<\/A> <\/p>\n<p>\/ <A \n\nhref=\"http:\/\/cpcug.org\/user\/clemenzi\/technical\/WinExplorer\/CommandLineOptions.htm\">CommandLineOptions.htm<\/A> <\/p>\n<p><\/H5><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is old info but I needed to refer to it after my Windows reinstall so I&#8217;ll just put it here for easy reference. Windows Explorer Command-Line Options &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Explorer [\/n] [\/e] [(,)\/root,&lt;object&gt;] [\/select,&lt;object&gt;] \/n Opens a new single-pane window for the default selection. This is usually the root of the drive Windows is installed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3453","post","type-post","status-publish","format-standard","hentry","category-geekery"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/3453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=3453"}],"version-history":[{"count":1,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/3453\/revisions"}],"predecessor-version":[{"id":4645,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/3453\/revisions\/4645"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=3453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=3453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=3453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}