Hi,
I have a script that adds a file type. My problem is that it only adds for each user. How can I run this once and it will be available for each user that uses the PC? Code I use is copied below.
Any help will be much appreciated.
Daniel.
I have a .bat that contains this:
assoc .ldf=StaticView
ftype StaticView=C:\GIV\StaticView.exe "%%1"
regedit /s staticview.reg
---------------------------------------------
I also have a .reg that contains this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\StaticView]
"EditFlags"=dword:00010000
"BrowserFlags"=dword:00000008
@="StaticView"
[HKEY_CLASSES_ROOT\StaticView\Shell]
@="C:\\GIV\\StaticView.exe,0" "%1"
I have a script that adds a file type. My problem is that it only adds for each user. How can I run this once and it will be available for each user that uses the PC? Code I use is copied below.
Any help will be much appreciated.
Daniel.
I have a .bat that contains this:
assoc .ldf=StaticView
ftype StaticView=C:\GIV\StaticView.exe "%%1"
regedit /s staticview.reg
---------------------------------------------
I also have a .reg that contains this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\StaticView]
"EditFlags"=dword:00010000
"BrowserFlags"=dword:00000008
@="StaticView"
[HKEY_CLASSES_ROOT\StaticView\Shell]
@="C:\\GIV\\StaticView.exe,0" "%1"