Why is an empty text file opened in write mode?

Windows 10

Active Members
Joined
Dec 10, 2024
Messages
6,328
Hello.I'm developing in a Windows 10 environment. I have a redirected drive that is in write mode.I created a new empty text file and opened it. I thought it wouldn't open, but it worked with Notepad! However, it wouldn't open in Visual Studio Code.I wrote some text, saved it, and closed the file. When I tried to open it again, it wouldn’t open in either program.What is the difference between how Notepad and Visual Studio Code open empty files?Is this a normal situation?Thank you.

Continue reading...
 
Back
Top