launch url, spaces in folder names [Solved]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
launch url, spaces in folder names [Solved]
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?
Last edited by magice on Tue May 20, 2014 4:18 pm, edited 1 time in total.
Re: launch url, spaces in folder names
https://alternatic.ch
Re: launch url, spaces in folder names
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.jmburnod wrote:Hi magice,
Just an ideas (no tested)BestCode: Select all
replace " " with "+" in myPath
Jean-Marc
Re: launch url, spaces in folder names
...
replace SPACE with "%20" in myPath
...

replace SPACE with "%20" in myPath
...

Re: launch url, spaces in folder names
I actually got my hopes up with that one. I though for sure that it would work, but still no luck.
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"?Klaus wrote:...
replace SPACE with "%20" in myPath
...
Re: launch url, spaces in folder names
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
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]
As usual Klaus, you are the man.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