Questions tagged [locked-files]
64 questions
0
votes
1 answer
GCC on Windows creates undeletable file
I have installed MinGW on Windows 7
i did write a hello world app...
#include
void main()
{
printf("Hallo, Welt!\n");
};
i did run
gcc Hello.c -o Hello
this did create a exe app named Hello.exe
I did run it and it said hello as it…

Mugolumbu
- 31
- 1
- 6
0
votes
1 answer
How to remove lock from file showing extended attributes
I am on macos mojave. I have a file on my system that was locked by Dreamweaver. I copied the file to another directory to work on it while it is checked out by another user, but the lock was copied with the file. So I have a file on my system…

mtsafe
- 1
- 4
0
votes
1 answer
the process can not access the file bin\debug because it is being used another process
Unable to copy file obj\Debug\WindowsFormsApp1.exe to bin\Debug\WindowsFormsApp1.exe. The process cannot access the file bin\Debug\WindowsFormsApp1.exe because it is being used by another process. WindowsFormsApp1.
Could not copy…

Bilguun Enkhee
- 11
- 4
- 7
0
votes
1 answer
Where are files stored when using this locker.bat code?
A while back, I found this code to create a batch file that puts a password lock on a folder.
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to…

Spencer Szeto
- 5
- 3
0
votes
2 answers
Is there a way to secure EXE file?
I have an application that use EXE file in it.
I want to secure EXE file, I encrypt file but it should be decrypted to use in the program, so I have to create temporary EXE file in to hard disk.
my questions are:
1) How can I create it in memory…

Sil3nT
- 53
- 1
- 5
0
votes
1 answer
How to use Get-ChildItem to filter out locked/being used by another process files?
Is Get-ChildItem able to filter out the files which are in locked state? Such as logs files currently in use by application and Get-ChildItem should skip on these files in results.
Example:
Get-ChildItem -Path C:\Logs\* # Maybe do pipelines…

Yong Cai
- 143
- 1
- 17
0
votes
1 answer
How to configure nginx to use a lock file to generate a 423 Locked response?
Environment :
I am using nginx 1.14.2 and php-fpm 7.2 (nginx and php-fpm are on the same VM)
Context :
I developed the following use case : when a lock file is present on the filesystem (created/deleted by an "upgrade" script), I return a 423…

J. Verger
- 83
- 2
- 6
0
votes
1 answer
The action cannot be completed because the file is open in httpd.exe
I wrote JS to upload really large videos in chunks and PHP script to assemble the pieces on the server. The file process works except that I can't play the file unless I "Restart All Services" from the PHP taskbar. After that the file plays fine. …

BBob
- 1
- 3
0
votes
1 answer
Unable to unlock Image used in picturebox
I need to move/rename some images which are loaded inside of pictureboxes, the images are stored in a folder in the executable path of the application. Before I can move/rename any image I have to make sure it is not in use, so I tried to load…

user3868224
- 363
- 1
- 6
- 19
0
votes
1 answer
Visual Studio 2015 can't (re)build fast - file locked
It's the famous
"Unable to copy file "obj\Debug\MVP.exe" to "bin\Debug\MVP.exe". The
process cannot access the file 'bin\Debug\MVP.exe' because it is being
used by another process."
message again. Visual Studio Enterprise on Windows 7 64bit.…

Valmont
- 328
- 1
- 2
- 11
0
votes
1 answer
TFS, unable to unlock my own files
I'm not sure how this has happened, I can't seem to unlock my own files:
Can't Undo or Unlock. Please point me to any documentation I may have missed (although I've been googling for 30+ mins). I imagine this is an experience thing.

m.edmondson
- 30,382
- 27
- 123
- 206
0
votes
3 answers
IIS locking a file created by XMLWriter
I've written a .Net Web API which takes it's inputs, parses them and then stores an XML file on a network share linked to our server. I have also built a Windows service which scans the network share for new files to process our business logic.
This…

aaroncatlin
- 3,203
- 1
- 16
- 27
0
votes
1 answer
Why does TextEdit open html files as locked?
I have an applescript that creates html files and uses textedit to open them:
try
tell application "Finder" to set save_folder to (target of window 1) as alias
on error
set save_folder to path to desktop
end try
set textFile to (choose file…

aquagremlin
- 3,515
- 2
- 29
- 51
0
votes
2 answers
How can I force the deletion of locked files in C#
I have a scenario where I must delete a file. I don't know and don't care who holds the file. I must delete it and they can crush for all I care. (I don't want to kill the locking task)
the only solution that comes to my mind is to use…

Nahum
- 6,959
- 12
- 48
- 69
0
votes
0 answers
Python crashes when using a static class
I'm making my first steps in Python and have come to a point where I need a logging module. The reasons I didn't opt for a rotating file handler are:
I wanted a new folder to be created each time the code is run, hosting the new log files.
Using…

GL246
- 273
- 2
- 9