FG
💻 Software

Why do .bat scripts get locked after execution in Windows 7?

Fresh7 days ago
Mar 15, 20263610 views
Confidence Score0%
0%

Problem

Ever since I moved to Windows 7, whenever I am am developing a .bat script I have exactly one chance to get it right. As soon as I execute the script, it becomes locked by an unknown process even if the execution appears to have completed, and I have to force quit explorer or restart to be able to …

Error Output

@echo off
@start prog\ConsolePortable\ConsolePortable.exe

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why do .bat scripts get locked after execution in Windows 7?

Low Risk

I would say this is possibly an error with your editor, or you have weird permissions set up. I quite often edit batch files with notepad (whilst running) and have not had a problem. However, I am not sure you can just inject commands - it remembers…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment