Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Making a file association

From: mario:cassani:icl at: 28-Jun-2001 10:28

Hi chr== (or whatever is your name),
> I need to make some file association within a WinNT 4.0 Env. > - *.ctl with a > script I wrote - > > Because the installation of REBOL allows to associate the *.r > files with > REBOL, I've got a look into the system object.
Give up teasing the installation procedures: NT uses the registry to make files associations. If you don't like handling with that big mess (registry) I suggest you this procedure: 1 - Open Explorer (WINKEY+E, usually) 2 - In the menu: View->Options... 3 - Select the "File Types" tab 4 - Click the "New Type" button 5 - Insert description and ".ctl" as "Associated extension" (no quotes) 6 - Click the "New" button At this point you can face two possible things: 1 - Requester to select the associated program -> put path to the application 2 - Dialog telling that .ctl is associated to something other (this means you have VirusBasic installed) -> -> Read the given description with your heart (to remember), close and look for the given file type description -> Open that type, check if is using .ctl and click the "New" button (point 6) -> Requester to select the associated program -> -> put path to the application -> The result will be that you right click on a .ctl file and you can run it with your application. 3 - Format your harddisk and install another operating system ;'P Best regards Mario