On Mon, 02 Apr 2007 10:50:57 -0700, Scott Rossi wrote: > When starting up Rev 2.8 on Windows (Vista), the shellCommand property is > set to "cmd.exe". After running revGoURL to launch a Web browser, the > shellCommand is set to the full disk path to cmd.exe. > > Is this expected behavior? I believe this breaks previous usage of shell > command, in that now one must script: > > if "cmd.exe" is in the shellCommand... > > Or did this change some time ago and I just missed it?
Yup, I just checked, and this goes all the way back to 2.1.2. I didn't know this was the case however, so you're right - any code that does: if the shellCommand = "cmd.exe" then will fail and you'd need to use the "is in" construct you mentioned above. To be 100% sure, you'd need to do this: if char -7 to -1 of the shellCommand = "cmd.exe" then (although the likelihood there might be "cmd.exe" in the path and have it NOT be the target file is extremely small). Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ _______________________________________________ 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
