I need to register some files extension in a few computer here and the
problem is that if i log on as a user i can´t chage it and if I log as the
administrator I change only for me... How can I change it to everyone???
[]s...
See tip 108 in the 'Tips & Tricks' at
http://www.jsiinc.com
Associations are maintained at HKCR.
As an example, see these .txt / txtfile entries:
HKEY_CLASSES_ROOT\.txt
<NO NAME> REG_SZ txtfile
PerceivedType REG_SZ text
Content Type REG_SZ text/plain
HKEY_CLASSES_ROOT\.txt\PersistentHandler
<NO NAME> REG_SZ {5e941d80-bf96-11cd-b579-08002b30bfeb}
HKEY_CLASSES_ROOT\.txt\ShellNew
NullFile REG_SZ
HKEY_CLASSES_ROOT\txtfile
<NO NAME> REG_SZ Text Document
FriendlyTypeName REG_EXPAND_SZ @%SystemRoot%\system32\notepad.exe,-469
EditFlags REG_DWORD 0x10000
HKEY_CLASSES_ROOT\txtfile\DefaultIcon
<NO NAME> REG_EXPAND_SZ %SystemRoot%\system32\notepad.exe
HKEY_CLASSES_ROOT\txtfile\shell
HKEY_CLASSES_ROOT\txtfile\shell\open
HKEY_CLASSES_ROOT\txtfile\shell\open\command
<NO NAME> REG_EXPAND_SZ %SystemRoot%\system32\NOTEPAD.EXE %1
HKEY_CLASSES_ROOT\txtfile\shell\print
HKEY_CLASSES_ROOT\txtfile\shell\print\command
<NO NAME> REG_EXPAND_SZ %SystemRoot%\system32\NOTEPAD.EXE /p %1
HKEY_CLASSES_ROOT\txtfile\shell\printto
HKEY_CLASSES_ROOT\txtfile\shell\printto\command
<NO NAME> REG_EXPAND_SZ %SystemRoot%\system32\notepad.exe /pt "%1" "%2"
"%3" "%4"
Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com