On 11/3/05 1:29 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Ken, Richard, > > it's true it's open for discussion but in general, programs that write > prefs to the same app folder have > the advantage that they can be moved anywhere later by the user. > > The registry is practical in case you want to update with an installer so > it's easy to see where the > app was installed (not all users have the same "program files", "windows" > or application (your app name) > folder. > > Anyway, to get back to the subject to see if a drive in Windows is > removable, look at this vbs example > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html > /sgfsosample.asp > > There might be other ways for those who can't execute vbs scripts but it's > the "common" way to script > windows' objects... ... and unfortunately triggers Norton AntiVirus (and others) to display a warning dialog about the "suspicious" behavior... VBS is very useful from Rev, but as soon as you use the FileSystemObject, you trigger the anti-viral software... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution