win2xcur icon indicating copy to clipboard operation
win2xcur copied to clipboard

Cannot convert due to issues with pathnames?

Open StickyChannel92 opened this issue 11 months ago • 3 comments

Image Image

I can't seem to get it to work, due to the pathnames being Windows format.

I even tried using the syntax it gave me: x2wincur D:\cursors\cursors* -o D:\cursors\cursors\windows

StickyChannel92 avatar Feb 04 '25 03:02 StickyChannel92

This is because Windows is horrible and stuff like cmd.exe just passes globs to the application as * instead of expanding it. You can manually specify all the files or use something like Git Bash or WSL that do the sane thing with globs.

quantum5 avatar Feb 04 '25 06:02 quantum5

This is because Windows is horrible and stuff like cmd.exe just passes globs to the application as * instead of expanding it. You can manually specify all the files or use something like Git Bash or WSL that do the sane thing with globs.

Windows horrors aside, the glob module would take care of this (unless for some reason it can't be used here).

brodouevnlyft avatar Mar 29 '25 10:03 brodouevnlyft

Windows horrors aside, the glob module would take care of this (unless for some reason it can't be used here).

If you do this on Windows only, sure. Everywhere else, glob characters are valid characters in filenames and then you'll end up having to escape it again somehow, leading to really cursed double escaping when the shell already has globs. I don't actually have a functioning Windows machine right now, so PRs welcome.

quantum5 avatar Mar 30 '25 00:03 quantum5