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

Filenames with space #3

Open
Frank-Einstein opened this issue Jun 17, 2017 · 2 comments
Open

Filenames with space #3

Frank-Einstein opened this issue Jun 17, 2017 · 2 comments

Comments

@Frank-Einstein
Copy link

Bug:
It is impossible to use this executable on any file containing a space in its filename. Normally each filename needs to be enclosed between quotes to avoid this bug and using "$files" (with the quotes) in the command line is not working because it's not enclosing each filenames individually.

Is it possible update the code so that it will add quotes around each filenames? It can be by default or maybe using an optional argument like "--si-timeout" ? Example: --quotes

This executable is still very useful for me but this bug is really a pain-in-the-ass since I am working with a lot of filenames containing spaces.

I am aware there have been no updates since like 2 years but I still hope the author is still alive and will be kind enough to fix this bug. If there is no fix, I will definitely need to learn C++ so I can fix this by myself... :(

Finally, a big thank you to the author for sharing this very useful program and it's source code!

@kubajar
Copy link

kubajar commented Aug 14, 2017

Spaces work for me. Simply use

"C:\singleinstance\singleinstance.exe" "%1" "c:\someprogram\program.exe" "$files"

instead of

"C:\singleinstance\singleinstance.exe" %1 "c:\someprogram\program.exe" $files

Good luck. :-)

@u01jmg3
Copy link

u01jmg3 commented Jan 11, 2020

Duplicate of #1

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

3 participants