[program-l] Re: [EXTERNAL] VS Code keeps a folder locked

  • From: David Mehler <dave.mehler@xxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Mon, 21 Nov 2022 11:09:08 -0500

Hello,

Closing the circle on this message the site I reference to get VS Code
in to portable mode toward the bottom references tmp and if you want
you can make a tmp directory in data. If you do this you'll have the
problem I reported here, rebooted the box, which freed up the handle,
took out tmp from that data directory, loaded up VS Code, opened up a
workspace then made a change, saved, exited, then moved the folder,
not a problem. So in short no tmp in the data directory. Here's the
link:

https://code.visualstudio.com/docs/editor/portable

Hth
Thanks.
Dave.


On 11/2/22, David Mehler <dave.mehler@xxxxxxxxx> wrote:

Hello,

Thanks for your reply. There's a way to run VS Code in a portable
mode. I can't find the link, but basically it boils down to download
the zip, extract it somewhere, and in that folder create another
folder called "data" and in that folder create another folder called
"tmp" and then run VS Code.

I don't get why this is happening, this is with 1.72.1 version but it
happened in the previous version as well.

Thanks.
Dave.


On 11/2/22, Isidor Nikolic <dmarc-noreply@xxxxxxxxxxxxx> wrote:
Hi, my name is Isidor and I work on VS Code.
I am not aware of this issue. When you say portable VS Code version what
exactly do you mean?
The best would be to just file a new issue here
https://github.com/microsoft/vscode/issues

Thanks
Isidor

From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> on
behalf of David Mehler <dave.mehler@xxxxxxxxx>
Date: Wednesday, 2 November 2022 at 00:17
To: program-l@xxxxxxxxxxxxx <program-l@xxxxxxxxxxxxx>
Subject: [EXTERNAL] [program-l] VS Code keeps a folder locked
Hello,

I'm using VS Code portable version. I open a folder, and edit some
files, then save. I then close VS Code. When I atempt to move that
folder to another location I'm told that the folder is in use. Why is
VS Code keeping these folders locked and is there a fix?

Thanks.
Dave.
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq


** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: