Run Batch Files Windows 10

Posted on by
Run Batch Files Windows 10 Rating: 9,5/10 1112 votes
Active1 year, 3 months ago

Here is my test.bat

Run Batch Files Windows 10

Run a batch file at loading of Windows 8 and 10 Create a shortcut to the batch file. Once the shortcut is created, right-click the shortcut file and select Cut. Press Start, type Run, and press Enter. In the Run window, type shell:startup to open the Startup folder. Once the Startup folder is.

Batch Files As Administrator. To auto-run a batch file as administrator, you need to first create the batch file, and then create a shortcut for it. To create a shortcut, right-click the file, and select Send to. Run Batch Files silently on Windows Run it from within the command prompt. Create a shortcut on your desktop, and point it towards the bat file. Make sure to change the Properties of the shortcut as Start minimized.

When I run test.bat on Windows 10 I get this output:

In Windows 10, you can run batch files by Command Prompt and Files Explorer. You can schedule the running timing so you don’t need to do it manually every time. Use these steps to schedule the batch file: 1. I need to install a.bat file on windows 10, x64, but the file does not run when I click it, nither as an admin, is there a solution for this? Inside the instal.bat is written: @devcon remove root mcamvusb @devcon install mcamvusb.inf root mcamvusb which is, there is a devcon.exe file in the same foledr, that instal.bat should run it.

I can't figure it out. I've checked my PATH, installed cygwin, looked over several Stackoverflow posts, and can't seem to get the script to work. The script was created as a simple test and nothing more.

Compo
19.7k3 gold badges12 silver badges28 bronze badges
JoshJosh

1 Answer

From my comment, this is a batch file for Windows, (it usually has a .cmd extension but may use .bat instead):

CompoCompo
19.7k3 gold badges12 silver badges28 bronze badges

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

Active3 years, 1 month ago

I have few .bat files that I used under Windows XP. Now I want to use them under Windows 10, but when I run one of the files (even as administrator) it shows the command prompt screen for 1 second and nothing happens.

Can someone help me please?

Scott Beeson
8,36622 gold badges83 silver badges160 bronze badges
KillahtmKillahtm

closed as unclear what you're asking by vcsjones, aschipfl, Mofi, Dennis van Gils, DavidPostillAug 29 '16 at 17:03

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. Ummy video downloader reviews. If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

There is no inherent reason that a simple batch file would run in XP but not Windows 10. It is possible you are referencing a command or a 3rd party utility that no longer exists. To know more about what is actually happening, you will need to do one of the following:

  • Add a pause to the batch file so that you can see what is happening before it exits.
    1. Right click on one of the .bat files and select 'edit'. This will open the file in notepad.
    2. Go to the very end of the file and add a new line by pressing 'enter'.
    3. type pause.
    4. Save the file.
    5. Run the file again using the same method you did before.

- OR -

  • Run the batch file from a static command prompt so the window does not close.
    1. In the folder where the .bat files are located, hold down the 'shift' key and right click in the white space.
    2. Select 'Open Command Window Here'.
    3. You will now see a new command prompt. Type in the name of the batch file and press enter.

Once you have done this, I recommend creating a new question with the output you see after using one of the methods above.

Run Batch File Windows 10 Scheduler

Scott Beeson

Create Batch File Windows 10

Scott Beeson

Windows 10 Batch File Commands

8,36622 gold badges83 silver badges160 bronze badges

Run Bat File Startup Windows 10

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