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

mkdir will fail on Windows if the filename contains a colon #256

Open
dnadales opened this issue Aug 28, 2017 · 4 comments
Open

mkdir will fail on Windows if the filename contains a colon #256

dnadales opened this issue Aug 28, 2017 · 4 comments

Comments

@dnadales
Copy link

dnadales commented Aug 28, 2017

When executing mkdir "foo: bar Filesystem.createDirectory will fail:

*** Exception: CreateDirectory "F:\\": does not exist (The system cannot find the path specified.)

Now, this is an issue with Filesystem but since it is deprecated I don't think this will be fixed. I don't know what's the best course of action here.

Related #254

@Gabriella439
Copy link
Owner

So like I mentioned in that issue I may take over maintainership of system-filepath soon so I can fix issues like these (or minimally just accept pull requests). However, I need to sort out some other tasks first before taking this on. Give me about a month before I can address this

@dnadales
Copy link
Author

Sure. This is a very minor issue, no need to rush. If I can help somehow let me know.

@freeman42x
Copy link

freeman42x commented May 28, 2020

: is not a valid character to use in Windows filer or folder names:

image

So then, what would the solution be?

@L-as
Copy link

L-as commented May 6, 2021

AFAIK a lot of these restrictions are only in the UI, and can be bypassed by using the raw APIs.

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

No branches or pull requests

4 participants