Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Files locked out by another process?????????????

6 views
Skip to first unread message

Robert Baer

unread,
Apr 21, 2013, 12:11:44 AM4/21/13
to
I have a BAT file that calls QBX afile.BAS which reads INFILE and
writes OUT1 and OUT2 and closes them, and i exit QBX.
I go to edit ANY of these and they are F-ing locked by another process.
How in the F can i find what GD process is involved?
The only way i have found to unlock them,is turn the computer
completely OFF; a PITA and then some.

Paul

unread,
Apr 20, 2013, 11:41:23 PM4/20/13
to
Sysinternals Handle may be able to tell you. It could be the program
you thought you'd quit, was still running, in which case you'd check
the Task Manager. The files could show up as still owned by QBX,
or perhaps your AV program is accessing the files.

http://technet.microsoft.com/en-us/sysinternals/bb896655

Paul

VanguardLH

unread,
Apr 21, 2013, 7:39:16 AM4/21/13
to
Another would be Unlocker; however, under Vista+ I found the
auto-detect feature doesn't work but you can still right-click on the
file to unlock it. The OP never mentioned what OS he uses.

http://www.emptyloop.com/unlocker/

Robert Baer

unread,
Apr 22, 2013, 4:30:11 PM4/22/13
to
One thing i found, (on experiment) was write files in QBX (BASIC),
even closed may have uncleared buffers.
RESET ' flushes buffers and closes files
Never knew such a command existed and never needed it before - prolly
because i was either using MSDOS, PCDOS,or Win98SE.
These newer OSes are rather snippy.

Task manager shows nothing, that s one thing i tried before posting.

Now the AV program is not going to attach those files for over a
second at most, so i do not think that is the problem.

The problem shows a lot less now after using RESET.
So next time, i guess i better see what sysinternals shows if anything.

0 new messages