Shoutbox

Windows registry .reg file, how to create...? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Windows registry .reg file, how to create...? (/showthread.php?tid=39476)

Windows registry .reg file, how to create...? by user36611 on 03-03-2005 at 07:49 PM

Hi,
I have been programming for quit some time now, and I have first now realised the potention of the Windows registry.
But I am in need for some help!

I need to make a (.reg) that will when you click on it, change the icon on all files named (.qm) ine the (ex. hallo.qu), and make all files name (.qu) open wit a specific program!
(if don't understand me, please say so:))

Can any one help me?
Thanks in advance,,,

Regards, partin007
:):):)


RE: Windows registry .reg file, how to create...? by Eljay on 03-03-2005 at 07:54 PM

you will have to find the correct reg entries for the icon and the open with... thing first

a reg file has a very simple structure and should be easy to make in VB
to see the structure, open any reg file in notepad


RE: Windows registry .reg file, how to create...? by M73A on 03-03-2005 at 08:04 PM

i created a .reg file using notepad. all you need is the right information in the notepad and the save as 'file.reg' heres an example of the code:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\ResearchMachines\NOATTRIB.VXD]
"loadvxd"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDrives"=dword:00000000
"LinkResolveIgnoreLinkInfo"=dword:00000000
"NoFolderOptions"=dword:00000000
"ClearRecentDocsOnExit"=dword:00000000
"NoTrayContextMenu"=dword:00000000
"EnforceShellExtensionSecurity"=dword:00000000
"NoPrinterTabs"=dword:00000000
"NoDeletePrinter"=dword:00000000
"NoAddPrinter"=dword:00000000
"NoRun"=dword:00000000
"NoSetFolders"=dword:00000000
"NoSetTaskbar"=dword:00000000
"NoClose"=dword:00000000
"NoViewContextMenu"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000
"NoDispScrSavPage"=dword:00000000
"NoDispAppearancePage"=dword:00000000
"NoDispSettingsPage"=dword:00000000
"NoAdminPage"=dword:00000000
"NoProfilePage"=dword:00000000
"NoDevMgrPage"=dword:00000000
"NoConfigPage"=dword:0000000
"NoFileSysPage"=dword:00000000
"NoDispCPL"=dword:00000000
"NoDispBackgroundPage"=dword:00000000
"NoVirtMemPage"=dword:00000000

(nothing bad in the reg code...just PART of the registry file which is ment to disable features of RM Connect)


RE: Windows registry .reg file, how to create...? by Dempsey on 03-03-2005 at 08:07 PM

the easiest way to make a reg file is to go into regedit and right click and export the section you want, it will then produce a .reg file


RE: Windows registry .reg file, how to create...? by user36611 on 03-03-2005 at 10:30 PM

Thanks may73alliance!:D


RE: RE: Windows registry .reg file, how to create...? by M73A on 03-03-2005 at 11:14 PM

quote:
Originally posted by partin007
Thanks may73alliance!:D

here to help (Y)