Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pencil created a file with a Windows reserved name and it's undeletable. #61

Open
miniragnarok opened this issue Jul 11, 2016 · 2 comments
Assignees
Labels

Comments

@miniragnarok
Copy link

I have a page called PRN (it's a registered nursing title). When exporting the project as a single web page, it created a file called prn.png. It turns out that shouldn't be possible in Windows. If I try to open the file it says file not found. Windows explorer says it's 80kb but the properties of the file say it's 0kb.

I've tried to rename it, move it, and delete it with cmd as an admin and using powershell with no luck. I think part of my problem is that it's on a network drive.

  • Operating system: Windows 7
  • Pencil version: 3.0.0-beta.2
@dgthanhan dgthanhan added the bug label Jul 25, 2016
@dgthanhan dgthanhan self-assigned this Jul 25, 2016
@silkentrance
Copy link

silkentrance commented Jun 18, 2021

LOL Windows, even applies to Window 10

Do not use the following reserved names for the name of a file:

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt is not recommended. For more information, see Namespaces.

@silkentrance
Copy link

"Black"listing this on all supported platforms should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants