1. Using startw Works with Spaces in File Path?

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!

new topic     » topic index » view message » categorize

2. Re: Using startw Works with Spaces in File Path?

euphoric said...

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).

"C:\Euphoria\bin\startw.exe" -d "$(CURRENT_DIRECTORY)" "C:\Euphoria\bin\euiw.exe" "$(FILE_NAME)"

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: Using startw Works with Spaces in File Path?

Back to working! Thank you!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu