NewsArchive
04-02-2009, 01:35 AM
Poetry aside:
Build 6.9.2537.0
Trying to detect presence of spaces in a path to be used for
redirection. Path has spaces. SB tells me no space. Redirection fails,
because I don't quote the path.
My script first splits the path into part containing clarion root
(%T1%), and part not containing clarion root (%T2%). I added a message
for debugging.
See attached screen shots.
Note the combined test: path contains clarion root AND T2 DOES NOT
CONTAIN the space character.
The message appears only when SB says T2 does not have spaces. Note
that at runtime, a message appears clearly showing T2 containing spaces.
--
Phil Carroll
http://www.enablingsimplicity.com
Build 6.9.2537.0
Trying to detect presence of spaces in a path to be used for
redirection. Path has spaces. SB tells me no space. Redirection fails,
because I don't quote the path.
My script first splits the path into part containing clarion root
(%T1%), and part not containing clarion root (%T2%). I added a message
for debugging.
See attached screen shots.
Note the combined test: path contains clarion root AND T2 DOES NOT
CONTAIN the space character.
The message appears only when SB says T2 does not have spaces. Note
that at runtime, a message appears clearly showing T2 containing spaces.
--
Phil Carroll
http://www.enablingsimplicity.com