Page 1 of 1
launch url, spaces in folder names [Solved]
Posted: Tue May 20, 2014 1:26 pm
by magice
I am working on a specialized windows app that creates and launches folders as part of a picture organization system that my employer uses. The problem I am running into, is that if any folders along the file path have spaces in their names, the folder is created, but launch url will not open them. Is there a way to get around this?
Re: launch url, spaces in folder names
Posted: Tue May 20, 2014 2:49 pm
by jmburnod
Hi magice,
Just an ideas (no tested)
Best
Jean-Marc
Re: launch url, spaces in folder names
Posted: Tue May 20, 2014 3:21 pm
by magice
jmburnod wrote:Hi magice,
Just an ideas (no tested)
Best
Jean-Marc
Unfortunately that is not the answer, but I am thinking that maybe a replacement of the spaces is the answer. I'm just not sure what to replace them with.
Re: launch url, spaces in folder names
Posted: Tue May 20, 2014 3:30 pm
by bn
Hi magice,
does
help?
Kind regards
Bernd
Re: launch url, spaces in folder names
Posted: Tue May 20, 2014 3:47 pm
by Klaus
...
replace SPACE with "%20" in myPath
...

Re: launch url, spaces in folder names
Posted: Tue May 20, 2014 3:57 pm
by magice
bn wrote:Hi magice,
does
help?
Kind regards
Bernd
I actually got my hopes up with that one. I though for sure that it would work, but still no luck.
Klaus wrote:...
replace SPACE with "%20" in myPath
...

I think that is the first answer you have ever given to me that didn't work. Is there any other way to open a windows folder other than "launch url"?
Re: launch url, spaces in folder names
Posted: Tue May 20, 2014 4:08 pm
by Klaus
Hi Magice,
it DOES work actually, but not in your case
I only read "launch url..." and thought about launching a local file in the browser,
where tha line is neccessary.
OK, you are looking for:
...
launch DOCUMENT "path/to/folder with spaces"
...
Best
Klaus
Re: launch url, spaces in folder names [solved]
Posted: Tue May 20, 2014 4:17 pm
by magice
Klaus wrote:Hi Magice,
it DOES work actually, but not in your case
I only read "launch url..." and thought about launching a local file in the browser,
where tha line is neccessary.
OK, you are looking for:
...
launch DOCUMENT "path/to/folder with spaces"
...
Best
Klaus
As usual Klaus, you are the man.