How do I make sure that opening a folder via Win + R > {path to folder} always opens the file explorer in...












0















Is it possible to pass extra options when opening file explorer via Win+R?



I know chrome.exe -incognito {URL} opens the URL in incognito. So I tried, {path} -fullscreen and {path} --fullscreen, but no avail.










share|improve this question























  • It's not quite clear if you want to maximize Explorer or Chrome.

    – montonero
    Feb 11 at 7:40











  • I want to maximize Explorer. Sorry if my post was not clear.

    – bibek
    Feb 11 at 7:42






  • 1





    Then I believe there's no simple way to do this. At least without an additional software like AutoIt.

    – montonero
    Feb 11 at 8:09











  • Thank you for the information. I will look up AutoIt.

    – bibek
    Feb 11 at 8:31











  • Instead of typing -fullscreen before it opens, it would be much simpler to type F11 afterward.

    – harrymc
    Feb 11 at 10:40
















0















Is it possible to pass extra options when opening file explorer via Win+R?



I know chrome.exe -incognito {URL} opens the URL in incognito. So I tried, {path} -fullscreen and {path} --fullscreen, but no avail.










share|improve this question























  • It's not quite clear if you want to maximize Explorer or Chrome.

    – montonero
    Feb 11 at 7:40











  • I want to maximize Explorer. Sorry if my post was not clear.

    – bibek
    Feb 11 at 7:42






  • 1





    Then I believe there's no simple way to do this. At least without an additional software like AutoIt.

    – montonero
    Feb 11 at 8:09











  • Thank you for the information. I will look up AutoIt.

    – bibek
    Feb 11 at 8:31











  • Instead of typing -fullscreen before it opens, it would be much simpler to type F11 afterward.

    – harrymc
    Feb 11 at 10:40














0












0








0








Is it possible to pass extra options when opening file explorer via Win+R?



I know chrome.exe -incognito {URL} opens the URL in incognito. So I tried, {path} -fullscreen and {path} --fullscreen, but no avail.










share|improve this question














Is it possible to pass extra options when opening file explorer via Win+R?



I know chrome.exe -incognito {URL} opens the URL in incognito. So I tried, {path} -fullscreen and {path} --fullscreen, but no avail.







windows-explorer fullscreen windows-10-v1607






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 11 at 7:05









bibekbibek

1




1













  • It's not quite clear if you want to maximize Explorer or Chrome.

    – montonero
    Feb 11 at 7:40











  • I want to maximize Explorer. Sorry if my post was not clear.

    – bibek
    Feb 11 at 7:42






  • 1





    Then I believe there's no simple way to do this. At least without an additional software like AutoIt.

    – montonero
    Feb 11 at 8:09











  • Thank you for the information. I will look up AutoIt.

    – bibek
    Feb 11 at 8:31











  • Instead of typing -fullscreen before it opens, it would be much simpler to type F11 afterward.

    – harrymc
    Feb 11 at 10:40



















  • It's not quite clear if you want to maximize Explorer or Chrome.

    – montonero
    Feb 11 at 7:40











  • I want to maximize Explorer. Sorry if my post was not clear.

    – bibek
    Feb 11 at 7:42






  • 1





    Then I believe there's no simple way to do this. At least without an additional software like AutoIt.

    – montonero
    Feb 11 at 8:09











  • Thank you for the information. I will look up AutoIt.

    – bibek
    Feb 11 at 8:31











  • Instead of typing -fullscreen before it opens, it would be much simpler to type F11 afterward.

    – harrymc
    Feb 11 at 10:40

















It's not quite clear if you want to maximize Explorer or Chrome.

– montonero
Feb 11 at 7:40





It's not quite clear if you want to maximize Explorer or Chrome.

– montonero
Feb 11 at 7:40













I want to maximize Explorer. Sorry if my post was not clear.

– bibek
Feb 11 at 7:42





I want to maximize Explorer. Sorry if my post was not clear.

– bibek
Feb 11 at 7:42




1




1





Then I believe there's no simple way to do this. At least without an additional software like AutoIt.

– montonero
Feb 11 at 8:09





Then I believe there's no simple way to do this. At least without an additional software like AutoIt.

– montonero
Feb 11 at 8:09













Thank you for the information. I will look up AutoIt.

– bibek
Feb 11 at 8:31





Thank you for the information. I will look up AutoIt.

– bibek
Feb 11 at 8:31













Instead of typing -fullscreen before it opens, it would be much simpler to type F11 afterward.

– harrymc
Feb 11 at 10:40





Instead of typing -fullscreen before it opens, it would be much simpler to type F11 afterward.

– harrymc
Feb 11 at 10:40










1 Answer
1






active

oldest

votes


















0














There is no command-line switch for explorer.exe that will get you to a full-screen window. But you can get close to your desired behavior with this approach.



Create this VBScript:



Set objShell = Wscript.CreateObject("Wscript.Shell")
Set Explorer = objShell.Exec("%WINDIR%explorer.exe " & WScript.Arguments(0))
Wscript.Sleep 500
objShell.AppActivate Explorer.ProcessID
objShell.SendKeys "{F11}"


Save it somewhere in your path. Give it a short name, like "e.vbs". Then, at a Start -> Run (aka Win+R) prompt, you can type e.vbs C:Temp and you'll get a full-screen Explorer window at C:Temp.



(If you are doing this from a command prompt, you can skip the extension, and just use e C:Temp. This is because the PathExt environment variable will know to look for a file with a vbs extension, but I can't get the Start -> Run interface to honor PathExt.)






share|improve this answer
























  • Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

    – bibek
    Feb 12 at 0:07












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404332%2fhow-do-i-make-sure-that-opening-a-folder-via-win-r-path-to-folder-always-o%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














There is no command-line switch for explorer.exe that will get you to a full-screen window. But you can get close to your desired behavior with this approach.



Create this VBScript:



Set objShell = Wscript.CreateObject("Wscript.Shell")
Set Explorer = objShell.Exec("%WINDIR%explorer.exe " & WScript.Arguments(0))
Wscript.Sleep 500
objShell.AppActivate Explorer.ProcessID
objShell.SendKeys "{F11}"


Save it somewhere in your path. Give it a short name, like "e.vbs". Then, at a Start -> Run (aka Win+R) prompt, you can type e.vbs C:Temp and you'll get a full-screen Explorer window at C:Temp.



(If you are doing this from a command prompt, you can skip the extension, and just use e C:Temp. This is because the PathExt environment variable will know to look for a file with a vbs extension, but I can't get the Start -> Run interface to honor PathExt.)






share|improve this answer
























  • Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

    – bibek
    Feb 12 at 0:07
















0














There is no command-line switch for explorer.exe that will get you to a full-screen window. But you can get close to your desired behavior with this approach.



Create this VBScript:



Set objShell = Wscript.CreateObject("Wscript.Shell")
Set Explorer = objShell.Exec("%WINDIR%explorer.exe " & WScript.Arguments(0))
Wscript.Sleep 500
objShell.AppActivate Explorer.ProcessID
objShell.SendKeys "{F11}"


Save it somewhere in your path. Give it a short name, like "e.vbs". Then, at a Start -> Run (aka Win+R) prompt, you can type e.vbs C:Temp and you'll get a full-screen Explorer window at C:Temp.



(If you are doing this from a command prompt, you can skip the extension, and just use e C:Temp. This is because the PathExt environment variable will know to look for a file with a vbs extension, but I can't get the Start -> Run interface to honor PathExt.)






share|improve this answer
























  • Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

    – bibek
    Feb 12 at 0:07














0












0








0







There is no command-line switch for explorer.exe that will get you to a full-screen window. But you can get close to your desired behavior with this approach.



Create this VBScript:



Set objShell = Wscript.CreateObject("Wscript.Shell")
Set Explorer = objShell.Exec("%WINDIR%explorer.exe " & WScript.Arguments(0))
Wscript.Sleep 500
objShell.AppActivate Explorer.ProcessID
objShell.SendKeys "{F11}"


Save it somewhere in your path. Give it a short name, like "e.vbs". Then, at a Start -> Run (aka Win+R) prompt, you can type e.vbs C:Temp and you'll get a full-screen Explorer window at C:Temp.



(If you are doing this from a command prompt, you can skip the extension, and just use e C:Temp. This is because the PathExt environment variable will know to look for a file with a vbs extension, but I can't get the Start -> Run interface to honor PathExt.)






share|improve this answer













There is no command-line switch for explorer.exe that will get you to a full-screen window. But you can get close to your desired behavior with this approach.



Create this VBScript:



Set objShell = Wscript.CreateObject("Wscript.Shell")
Set Explorer = objShell.Exec("%WINDIR%explorer.exe " & WScript.Arguments(0))
Wscript.Sleep 500
objShell.AppActivate Explorer.ProcessID
objShell.SendKeys "{F11}"


Save it somewhere in your path. Give it a short name, like "e.vbs". Then, at a Start -> Run (aka Win+R) prompt, you can type e.vbs C:Temp and you'll get a full-screen Explorer window at C:Temp.



(If you are doing this from a command prompt, you can skip the extension, and just use e C:Temp. This is because the PathExt environment variable will know to look for a file with a vbs extension, but I can't get the Start -> Run interface to honor PathExt.)







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 11 at 23:41









Doug DedenDoug Deden

885213




885213













  • Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

    – bibek
    Feb 12 at 0:07



















  • Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

    – bibek
    Feb 12 at 0:07

















Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

– bibek
Feb 12 at 0:07





Thanks for your answer. But for my usecase, I will probably go with the suggestion provided by @harrymc above.

– bibek
Feb 12 at 0:07


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404332%2fhow-do-i-make-sure-that-opening-a-folder-via-win-r-path-to-folder-always-o%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀