This works on my computer - much easier than the convoluted script I was using.
I think Chipp's adding in the shortfilepath function was the key... Earlier attempts at using this approach did not work for me, presumably because quotes and spaces were confusing 'start'. Thanks Chipp! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters Sent: Friday, July 29, 2005 11:37 PM To: How to use Revolution Subject: Re: Windows Command Code Resolved Hi gang, Got it working. Pretty simple actually: Here's the guts (after putting the filepath into fld "docPath") put shortFilePath(fld "docPath") into tDocPath replace "/" with "\" in tDocPath put "start" && tDocPath into tDosCommand set the hideconsolewindows to true get shell(tDosCommand) Here's a demo: type in the message: go URL "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev" best, Chipp _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
