1. Using startw Works with Spaces in File Path?
- Posted by euphoric (admin) Sep 18, 2016
- 1313 views
Greg, ran into something today and wondering if I can fix it.
Using your "startw" solution for running Euphoria programs from Notepad++. I'm getting an error that seems to be happening because the filepath has spaces in it! It hasn't happened before, that I've noticed, but maybe that's because I've not had spaces in the path before.
Can you confirm?!
Thanks!
2. Re: Using startw Works with Spaces in File Path?
- Posted by ghaberek (admin) Sep 19, 2016
- 1273 views
Greg, ran into something today and wondering if I can fix it.
Using your "startw" solution for running Euphoria programs from Notepad++. I'm getting an error that seems to be happening because the filepath has spaces in it! It hasn't happened before, that I've noticed, but maybe that's because I've not had spaces in the path before.
Can you confirm?!
Confirmed. I was not quoting the "extras" that I'm passing to ShellExecute(). Updated and tested. I also added a "show" option.
http://openeuphoria.org/pastey/289.wc
Edit: I also updated my Run command in Notepad++ to use $(FILE_NAME) instead of $(FULL_CURRENT_PATH).
-Greg
3. Re: Using startw Works with Spaces in File Path?
- Posted by euphoric (admin) Sep 19, 2016
- 1264 views
Back to working! Thank you!