Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Type Association

Status
Not open for further replies.

danmul

Programmer
Jan 16, 2003
89
IE
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"
 
Run this as a computer startup script?


ChrisCj21
MCSE, A+, N+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top