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

Error on Windows CLI if the path includes a trailing slash and enclosed in quotes #905

Open
sparkhi opened this issue Mar 14, 2023 · 1 comment

Comments

@sparkhi
Copy link
Collaborator

sparkhi commented Mar 14, 2023

Try a command as below where we are profiling a folder but there is a trailing slash and the parameter is enclosed in double quotes.

droid.bat -Ns C:\Users\sparkhi\.droid6\signature_files\DROID_SignatureFile_V110.xml -Nr "c:\test-data\archives\" -q

We get an error as shown below:

An unknown error occurred: Illegal char <"> at index 21: c:\test-data\archives" -q

@DavidUnderdown
Copy link

The slash is being treated as an escape character so that the literal quote mark is included in the parameter string

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

2 participants