


What to do if win10 runs the bat file and it flashes?
If there is a crash or other situation, please confirm that there is no system problem first. Problem, there are also some bat files that flash after double-clicking, but they have already been executed.
Solution steps:
1. Display the executed command
To view the batch running status, right-click the Bat File, open Notepad. Add a carriage return at the end and enter Pause to save and open it so that it will not automatically close after execution.
2. Check whether the bat format file cannot be run under win7:
Start-Run, enter regedit, press Enter, and open the registry editor. Found: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT
3. The command prompt has been disabled by the system administrator
1. Click the Start menu, select Run, then enter gpedit.msc and press Enter;
2. After opening the Local Group Policy Editor, go to User Configuration-Administrative Templates-System;
3. At this time, you can see many setting options in the right window. Double-click to open the "Block Access to Command Prompt" option;
4. After double-clicking the policy, you can see that the previous setting is "Enabled", change it to "Disabled";
4. System variable error As a result, BAT cannot run
1. Right-click Computer Properties, and then click "Advanced System Settings" in the upper left corner of the system information;
2. Switch to the "Advanced" tab , click "Environment Variables" below;
3. Click "New" below user variables, enter the user name %path%, and the variable value C:/windows/system32, click OK;
4. Select the path in the system variable, click the edit button, add the path and save it.
#5. After modification, execute bat.
Recommended related articles and tutorials: windows tutorial
The above is the detailed content of What to do if win10 runs the bat file and it flashes. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Notepad++7.3.1
Easy-to-use and free code editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver CS6
Visual web development tools
