colinator27 / DogScepter

A work-in-progress modding tool geared toward UNDERTALE/DELTARUNE
MIT License
45 stars 14 forks source link

Specifying a path with "" that ends with \ leads Dogscepter to escape the quote #21

Closed Miepee closed 2 years ago

Miepee commented 2 years ago

For example, having .\DogScepterCLI.exe dump "data.win" -o "longPath\foobar\" -v --textures --strings --code --rooms will cause dogscepter to use longPath\foobar -v --textures --strings --code --rooms as the path instead.

colinator27 commented 2 years ago

This is actually normal behavior of the command line, so I don't think DogScepter has any control over it. However, it might be a good idea to properly validate the path.

Miepee commented 2 years ago

Hmm, that is strange. Other command line tools (like dir) don't interpret the last backslash as an escape character.

Miepee commented 2 years ago

Upon further inspection, this is an issue of CliFX and not of DogScepter. Thus closing.