At 11:11 AM 5/6/2002 -0700, you wrote: >AFAIK, you'd have to build an ActiveX control to do that. I'd personally be >really pissed if I went to a web site that modified my registry without my >permission. It'd be a pretty big security hole in IE/Netscape if that was >allowed. Imagine the damage you could do...
Its strickly intranet. >The only other way I could think is to instruct the user to download the >reg file and execute it themselves from your site. > >-----Original Message----- >From: phumes1 [mailto:[EMAIL PROTECTED]] >Sent: Monday, May 06, 2002 11:11 AM >To: CF-Talk >Subject: Re: Adding MIME types > > >Hi, > > >Presently I have a .bat file which runs to add mime types into the registry. >I have included my .reg file below. Is there a way to have CF add these >mimetypes rather than have approximately 50-100 users run this batch file >on their PCs? > > >addmimes.bat >--------------------- > >@echo off >reg import mimetypes.reg > > > >mimetypes.reg >--------------------- > >Windows Registry Editor Version 5.00 > >[HKEY_CLASSES_ROOT\.dat] >@="UltraEdit.dat" >"Content Type"="text/dat" >"Perceived Type"="text" > >[HKEY_CLASSES_ROOT\.dat\PersistentHandler] >@="{eec97550-47a9-11cf-b952-00aa0051fe20}" > >[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/dat] "Extension"=".dat" > >[HKEY_CLASSES_ROOT\UltraEdit.dat] >@="Text Document" >"Old Default"="DatObject" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell] > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\open] > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\open\command] >@="\"C:\\Program Files\\UltraEdit\\UEDIT32.EXE\" \"%1\"" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\open\ddeexec] >@="[open(\"%1\")]" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\open\ddeexec\Application] >@="UEDIT32" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\open\ddeexec\topic] >@="System" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\print] > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\print\command] >@="\"C:\\Program Files\\UltraEdit\\UEDIT32.EXE\" /p \"%1\"" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\print\ddeexec] >@="[print(\"%1\")]" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\print\ddeexec\Application] >@="UEDIT32" > >[HKEY_CLASSES_ROOT\UltraEdit.dat\shell\print\ddeexec\topic] >@="System" > > >+--------------------------------------------------------------------------- >--------+ > >Philip Humeniuk >[EMAIL PROTECTED] >[EMAIL PROTECTED] >+--------------------------------------------------------------------------- >---------+ > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

