File location using go shell ("startc:\..")

Klaus Major klaus at major-k.de
Sat Aug 6 12:44:18 EDT 2005


Hi Scott,
> I have been using the go shell command to open up distant files  
> deep in the Windows filing architecture, but having problems  
> getting past the folder "program files"
>
> Seems I can't get past a folder with two words, eg. Program Files
>
> go shell ("start c:/program_files/appz_folder/mainframe.exe")
>
> doesn't get me there, but
> go shell ("start c:/appfolder/mainframe.exe")
>
> works
>
> how do I rewrite the file location so runrev understand the  
> location of the file?

very strange that it works at all ;-)

Try:

GET shell ("start c:\program_files\appz_folder\mainframe.exe")
if the result <> empty then
     ## NO xuccess
    ## do your error thing...
end if
...

"shell" on windows needs the BACKslash for pathnames.

Hope that helps.


Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list