Jump to content

Recommended Posts

Posted
@war59312, it would help if you can convert that .reg file to .cmd or at least make it path independant :)

Hey,

All right, fixed. :lol:

Yeah, a bit late. ;)

Take Care,

Will

  • 5 weeks later...

Posted (edited)

Hello Men,

I am trying to change the default icon for "txtfile", at first it doesn´t change the icon, then i reinitiate and it take effect. There any way to change the icon without reinitiate?

Here is my CMD:

@echo off

cmdow @ /HID

REG ADD "HKLM\Software\Classes\txtfile\DefaultIcon" /VE /D "\"%PROGRAMFILES%\TextPad 4\MainIcon.ico\",0" /F

Exit

Edited by Major
  • 1 month later...
  • 1 month later...
Posted (edited)
WHAT ABOUT Foxit pdf extension? :no::no::blushing:

If this doesn't work for you, try:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf]
@="FoxitReader.Document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document]
"BrowseInPlace"="1"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf]
"Application"=-
"Progid"="FoxitReader.Document"

PS - I tried this having Adobe Reader installed first and it worked

Edited by JohnS
  • 5 months later...
Posted
I need for VLC that asoc. all video file

Thank u

Here you have:

REG ADD "HKCR\.avi" /VE /D "VlcFile" /F

REG ADD "HKCR\.vob" /VE /D "VlcFile" /F

REG ADD "HKCR\.XXX" /VE /D "VlcFile" /F

REG ADD "HKCR\VlcFile\DefaultIcon" /VE /D "%SYSTEMDRIVE%\Programs\VLC\vlc.exe,0" /F

REG ADD "HKCR\VlcFile\shell\Open"

REG ADD "HKCR\VlcFile\shell\Open\command" /VE /D "\"%SYSTEMDRIVE%\Programs\VLC\vlc.exe\" \"%%L\"" /F

Just replace XXX for the extension you want to associate VLC to.

For a .reg file see here:

Videolan forum 1

and

Videolan forum 2

  • 4 months later...
Posted

How can I get wordpad to open all NFO files?

How can I get VLC to open all video files?

How can I get WMP to open all audio files?

My try with NFO - it opens notepad, but then not the file! (batch file)

REG ADD "HKCR\.nfo" /VE /D "Notepad.nfo" /F
REG ADD "HKCR\notepad.nfo" /VE /D "Nfo Document" /F
REG ADD "HKCR\notepad.nfo\DefaultIcon" /VE /D "\"notepad.exe\",1" /F
REG ADD "HKCR\notepad.nfo\shell\open\command" /VE /D "\"notepad.exe"" /F
REG ADD "HKCR\notepad.nfo\shell\open\ddeexec" /VE /D "%1" /F
REG ADD "HKCR\notepad.nfo\shell\open\ddeexec\application" /VE /D "notepad" /F
REG ADD "HKCR\notepad.nfo\shell\open\ddeexec\topic" /VE /D "System" /F
REG ADD "HKCR\notepad.nfo\shell\print\command" /VE /D "\"notepad.exe" -s -p \"%%1\"" /F
REG ADD "HKCR\notepad.nfo\shell\printto\command" /VE /D "\"notepad.exe" -s -pt \"%%1\" \"%%2\" \"%%3\" \"%%4\"" /F

My try with VLC - THink this is fine, could some say if i have missed any (reg file)

[HKEY_CLASSES_ROOT\.ASF]
@="VlcFile"

[HKEY_CLASSES_ROOT\.AVI]
@="VlcFile"

[HKEY_CLASSES_ROOT\.DIVX]
@="VlcFile"

[HKEY_CLASSES_ROOT\.DV]
@="VlcFile"

[HKEY_CLASSES_ROOT\.m1v]
@="VlcFile"

[HKEY_CLASSES_ROOT\.m2v]
@="VlcFile"

[HKEY_CLASSES_ROOT\.mkv]
@="VlcFile"

[HKEY_CLASSES_ROOT\.mov]
@="VlcFile"

[HKEY_CLASSES_ROOT\.MPEG]
@="VlcFile"

[HKEY_CLASSES_ROOT\.MPEG1]
@="VlcFile"

[HKEY_CLASSES_ROOT\.MPEG2]
@="VlcFile"

[HKEY_CLASSES_ROOT\.MPEG4]
@="VlcFile"

[HKEY_CLASSES_ROOT\.MPG]
@="VlcFile"

[HKEY_CLASSES_ROOT\.PS]
@="VlcFile"

[HKEY_CLASSES_ROOT\.TS]
@="VlcFile"

[HKEY_CLASSES_ROOT\.OGM]
@="VlcFile"

[HKEY_CLASSES_ROOT\.VOB]
@="VlcFile"

[HKEY_CLASSES_ROOT\.WMV]
@="VlcFile"

[HKEY_CLASSES_ROOT\VlcFile\DefaultIcon]
@="C:\\Appz\\VLC\\vlc.exe,0"

[HKEY_CLASSES_ROOT\VlcFile\shell\Open]
[HKEY_CLASSES_ROOT\VlcFile\shell\Open\command]
@="C:\\Appz\\VLC\\vlc.exe,0" \"%L\""

Thanking you for your time!

Posted

Why go to all that bother for your .nfo extension, just use the simple:

FTYPE NFO.Document=notepad.exe "%1"

or the even simpler:

ASSOC .nfo=txtfile

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...