简体   繁体   中英

error while executing batch file in windows OS

i have made a batch file in windows 7 OS. When i double click on that batch file it opens in notepad and it is not executing code of my batch file. What should i do now to run or execute batch file? Please help me. It is so much serious for me .

好的,有很多事情可能是错误的,有很多方法可以修复它,但是我认为最快的修复方法是将文件重命名为.cmd而不是.bat(它们是相同的。)

find that reg key and delete value data "notepad.exe"

HKEY_CURRENT_USER \Software \Microsoft \Windows \CurrentVersion \ Explorer \FileExts \.bat \

it will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM