As I understood it, LAUNCH effectively uses (or used to use?) a DOS command to run the required program.
If that's so, then you need to follow DOS-type syntax and rules. If your path and/or filename contains a space you need to put the path/filename inside double quotes. If you use the 8 character DOS path & filename you (should) get away without the quotes. For example: SET VAR vProgram = 'C:\Progra~1\Outloo~1\MSIMN.EXE' LAUNCH &vProgram or SET VAR vProgram = ' "C:\Program Files\Outlook Express\MSIMN.EXE" ' LAUNCH &vProgram (That's a single quote followed by a double quote and vice versa at the ends of the variable and I've put a space in to try to highlight that.) Regards, Alastair. ----- Original Message ----- From: "Troy Sosamon" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 5:03 AM Subject: [RBASE-L] - RE: LAUNCH command > The idea with the launch command is that you should not have to call the > underlying program to open a document of a registered type. > > The problem here is that if you have to hard code the path to acrobat.exe, > and then you update your version of acrobat, your apps will not work w/o > fixing the path. > > The alternative is to call explorer.exe with your file name and it should be > able to open it. > > Zip command /c explorere.exe myfile.pdf > Or > Launch myfile.pdf > > Yes, you might need the quotes. Try and figure out what works with your > version of R:base. > > > Troy > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB > Sent: Tuesday, November 16, 2004 12:18 PM > To: RBASE-L Mailing List > Subject: [RBASE-L] - RE: LAUNCH command > > Troy and Karen, > > I recall that the Launch version with 6.5 had problems with spaces in the > command line. After a bit of playing with it, here is what worked for me... > > LAUNCH '"C:\Program Files\Adobe\Acrobat4\Acrobat\Acrobat.exe"|"/p /h > C:\Temp\IllJoe.Pdf"' > > All the Quotes EXCEPT for the beginning and closing quote are Double. > > You're Welcome!! ;-) > > > ----- Original Message ----- > From: "Troy Sosamon" <[EMAIL PROTECTED]> > To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, November 15, 2004 8:11 PM > Subject: [RBASE-L] - RE: LAUNCH command > > > > Use this in all old versions of R:base > > > > > > > > Zip command /c 'C:\ProgramFiles\Adobe\Acrobat 5.0\Reader\AcroRd32.exe|/p > /h > > C:\Cust.pdf' > > > > > > > > Some machines you might need to replace command with cmd. > > > > > > > > Troy > > > > > > > > > > > > _____ > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > > [EMAIL PROTECTED] > > Sent: Monday, November 15, 2004 9:27 AM > > To: RBASE-L Mailing List > > Subject: [RBASE-L] - LAUNCH command > > > > > > > > > > I have this in my notes that you can print a pdf file by: > > > > LAUNCH 'C:\ProgramFiles\Adobe\Acrobat 5.0\Reader\AcroRd32.exe|/p /h > > C:\Cust.pdf' > > > > It works in 7.1, does it work in any 6.5++ versions (it doesn't seem to). > > > > Karen > > > > > > --- RBASE-L > ================================================ > TO POST A MESSAGE TO ALL MEMBERS: > Send a plain text email to [EMAIL PROTECTED] > > (Don't use any of these words as your Subject: > INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, > REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) > ================================================ > TO SEE MESSAGE POSTING GUIDELINES: > Send a plain text email to [EMAIL PROTECTED] > In the message SUBJECT, put just one word: INTRO > ================================================ > TO UNSUBSCRIBE: > Send a plain text email to [EMAIL PROTECTED] > In the message SUBJECT, put just one word: UNSUBSCRIBE > ================================================ > TO SEARCH ARCHIVES: > Send a plain text email to [EMAIL PROTECTED] > In the message SUBJECT, put just one word: SEARCH-n > (where n is the number of days). In the message body, > place any > text to search for. > ================================================ >

