How to fix the Win10 batch file in the start menu

  

Now, many people are asking, how is the Win10 batch file fixed in the start menu? In fact, this is very simple, you can do some "hands and feet" in the creation of shortcuts, add commands to specify the running state of the batch. Download it and let everyone bring the Win10 batch file to the Start menu Tutorial
, let's take a look.

1, cmd /c “ batch file path & rdquo;

The role of cmd /c is to automatically close the window after running the batch.

2, cmd /k “ batch file path & rdquo;

The role of cmd /k is the opposite of the above, does not close the window after running.

How can I get the above effects directly after the shortcut is created? You can use the default shortcut of Windows
to create a new step, as follows:

1. Right click on the desktop or file explorer, create new → shortcut
Win10< Br>

2. In the input box of the file path, give the bat file you want to fix in the start menu according to the following format (optional one):

1 cmd /k “ batch file Path”

2 cmd /c “batch file path”

Take the first item as an example, the format is as follows:

cmd /k C:\\\\ Users\\\\ithome\\\\Desktop\\\\Batch escalation.bat
Win10

3. Click “Next” Modify the shortcut name to complete
Win10

Copyright © Windows knowledge All Rights Reserved