D
D
Dutymy2021-10-22 15:32:31
cmd/bat
Dutymy, 2021-10-22 15:32:31

How to remove quotes when dragging file to console?

If you drag a file named into the console application C:\русская папочка\file.txt, the "C:\русская папочка\file.txt".

How to escape these quotes? (quotes are added only if there are spaces in the path)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2021-10-22
@Zoominger

No way. This is a regular behavior of the system to avoid an error if there are spaces in the path, otherwise console (and not only) applications may behave unpredictably.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question