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

Drag and drop Windows Path conversion / escaping broken #1312

Closed
tni opened this Issue Nov 6, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@tni

tni commented Nov 6, 2017

Windows path:
D:\path with spaces

Paste:
/d/path\ with\ spaces

Current ConEmu drag and drop from explorer (either the quotes or the backslash escaping needs to go):
"/d/path\ with\ spaces"

A 1 year old version of ConEmu does this with drag and drop:
"D:\path with spaces"

\\

ConEmu is the current GIT version on Win7 x64.

Task config:
E:\cygwin64\Cygwin.bat "-new_console:t:cygwin64" -cur_consoleⓂ️""

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Nov 6, 2017

Owner

So what is the problem?

Owner

Maximus5 commented Nov 6, 2017

So what is the problem?

@tni

This comment has been minimized.

Show comment
Hide comment
@tni

tni Nov 6, 2017

The problem is the double quoting:
$ ls -l "/d/path\ with\ spaces"
ls: cannot access '/d/path\ with\ spaces': No such file or directory

Either of these would work:

$ ls -l /d/path\ with\ spaces
total 0

$ ls -l "/d/path with spaces"
total 0

tni commented Nov 6, 2017

The problem is the double quoting:
$ ls -l "/d/path\ with\ spaces"
ls: cannot access '/d/path\ with\ spaces': No such file or directory

Either of these would work:

$ ls -l /d/path\ with\ spaces
total 0

$ ls -l "/d/path with spaces"
total 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment