Ben,

I reckon you have to protect the string with the space space somehow.

maybe with \" ??
 stAppName = "C:\Program
Files\MapInfo\Professional\Mapinfow.exe " +
" \"P:\Shared Information\LSDDatabase\LSD\LSD.MBX\" "

or instead, try to escape the space somehow.

I dont know how to escape it exactly, but I am sure it works somehow with
"
\"
'
\'
""



> Hi list,
> 
> This is not a question I really want to ask, but it's
> been bothering me.
> 
>  stAppName = "C:\Program
> Files\MapInfo\Professional\Mapinfow.exe " +
> "P:\Shared Information\LSDDatabase\LSD\LSD.MBX"
> 
> Call Shell(stAppName, 1)
> 
> My access program says it can't find file "Shared"! I
> know it's having a problem with the space between
> Shared and Information, and we've already created a
> small batch file, and tried a small MB to run the
> application; but it's cumbersome and ugly...anyone
> know how I can get this problem to go away...
> 
> It's not a true MB question and for that I'm sorry...
> 
> Thanx
> Ben & Matt
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to