问题
I have searched a lot to open Microsoft Edge in InPrivate mode. I could not find out the solution. How to start Microsoft Edge in InPrivate mode from command line?
回答1:
User ウィンドウズスクリプトプログラマ over on the Microsoft Scripting Forum gave this command line:
cmd.exe /c start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge -private
which works for me on Windows Version 1703 (OS Build 15063.850) and Version 1709 (OS Build 16229.125).
Update: This no longer works as at Microsoft Edge 44.17763.1.0 on Windows Version 1809.
回答2:
I talked to the Microsoft Program Manager about this and inprivate+command line is not available at this time.
I did note there is a feature suggestion in for this at https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/9245247-inprivate-command-line-switch . Anyone interested or desiring this feature could "vote it up".
Sorry I can't do more. I did 'vote it up' for you. Healy in Tampa
来源:https://stackoverflow.com/questions/32308174/how-to-start-microsoft-edge-in-inprivate-mode-from-command-line