SiMoNsAyS Posted January 12, 2005 Author Share Posted January 12, 2005 (edited) ISO Filetypes with WINISO and Makes 2 RightMenu Entries to Mount the Image with D-ToolsREG ADD "HKLM\SOFTWARE\Classes\.iso" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.bin" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.cif" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.vcd" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.fcd" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.img" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.c2d" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.dao" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.tao" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.ccd" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.cue" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.bwt" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.cdi" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.b5t" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.mds" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.nrg" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\.pdi" /VE /D "WinISO" /FREG ADD "HKLM\SOFTWARE\Classes\WinISO\DefaultIcon" /VE /D "%SHORTPF%\WinISO\ISOFILE.ICO" /FREG ADD "HKLM\SOFTWARE\Classes\WinISO\shell\open\command" /VE /D "%SHORTPF%\WinISO\WinISO.exe \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\WinISO\shell\Montar Imagen\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -mount 0, \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\WinISO\shell\Desmontar Imagen\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -unmount 0" /FISO Filetypes Mounted on D-Tools with DoubleClick and Menu Entries to Mount/UnmountREG ADD "HKLM\SOFTWARE\Classes\.iso" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.bin" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.cif" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.vcd" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.fcd" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.img" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.c2d" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.dao" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.tao" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.ccd" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.cue" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.bwt" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.cdi" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.b5t" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.mds" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.nrg" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\.pdi" /VE /D "D-Tools" /FREG ADD "HKLM\SOFTWARE\Classes\D-Tools\DefaultIcon" /VE /D "%SHORTPF%\D-Tools\daemon.exe,0" /FREG ADD "HKLM\SOFTWARE\Classes\D-Tools\shell\open\command" /VE /D %SHORTPF%\D-Tools\daemon.exe -noicon -mount 0, \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\D-Tools\shell\Mount on First Device\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -mount 0, \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\D-Tools\shell\Unmount First Device\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -unmount 0" /FREG ADD "HKLM\SOFTWARE\Classes\D-Tools\shell\Mount on Second Device\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -mount 1, \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\D-Tools\shell\Unmount Second Device\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -unmount 1" /FYou need 2 Daemon virtual devices, doubleclick will mount the image on first device, rightclick menu let you choice between mount on first device, unmount from first device, mount on second device and unmount from second device. Tested and working.ISO Filetypes with UltraISO, D-Tools and Custom RightClick-EntriesREM UltraISOREG ADD "HKLM\SOFTWARE\Classes\.b5t" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.b5i" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.mds" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.mdf" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.bwt" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.bwi" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.cue" /VE /D "binimage" /FREG ADD "HKLM\SOFTWARE\Classes\.bin" /VE /D "binimage" /FREG ADD "HKLM\SOFTWARE\Classes\.lcd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.ccd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.img" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.dvd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.000" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.cdi" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.dao" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.tao" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.cif" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.p01" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.md1" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.xa" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.pdi" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.nrg" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.VaporCD" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.ncd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.pxi" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.rif" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.rdf" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.gcd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.gi" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.iso" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.ixa" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.vc4" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.fcd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.vcd" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.vdi" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.ima" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\.c2d" /VE /D "UltraISO" /FREG ADD "HKLM\SOFTWARE\Classes\binimage\DefaultIcon" /VE /D "%SHORTPF%\UltraISO\ISOFILE.ICO" /FREG ADD "HKLM\SOFTWARE\Classes\binimage\shell\Convert to ISO\command" /VE /D "%SHORTPF%\UltraISO\UltraISO.exe -bin2iso -optimize \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\binimage\shell\Mount Image\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -mount 0, \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\binimage\shell\Unmount Image\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -unmount 0" /FREG ADD "HKLM\SOFTWARE\Classes\UltraISO\DefaultIcon" /VE /D "%SHORTPF%\UltraISO\ISOFILE.ICO" /FREG ADD "HKLM\SOFTWARE\Classes\UltraISO\shell\Mount Image\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -mount 0, \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\UltraISO\shell\Unmount Imagen\command" /VE /D "%SHORTPF%\D-Tools\daemon.exe -noicon -unmount 0" /FREG ADD "HKLM\SOFTWARE\Classes\Directory\shell\Create ISO\command" /VE /D "%SHORTPF%\UltraISO\UltraISO.exe -imax -l -joliet -optimize -d \"%%1\" -volu NEW -out \"%%1\IMAGE.ISO""Let me explain it a a little. This command will associate all UltraISO filetypes, and will use a custom "ISOFILE.ICO" located on UltraISO dir. Also it will create rightmenu entries for "Convert to ISO" any BIN/CUE file and "Create ISO" for every directory, image will be saved as IMAGE.ISO on the same dir, you can customize label and filename (hope you can enjoy it, this has took me a LOT of time ). Finally there are 2 additions for Daemon-Tools, "Mount Image" and "Unmount Image", both using the first D-Tools device. Edited January 12, 2005 by SiMoNsAyS Link to comment Share on other sites More sharing options...
pinout Posted January 13, 2005 Share Posted January 13, 2005 NFO and DIZ Files on MS-DOSREG ADD "HKLM\SOFTWARE\Classes\.nfo" /VE /D "ASCII" /FREG ADD "HKLM\SOFTWARE\Classes\.diz" /VE /D "ASCII" /FREG ADD "HKLM\SOFTWARE\Classes\ASCII\DefaultIcon" /VE /D "%WINDIR%\system32\shell32.dll,70" /FREG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\open\command" /VE /D "EDIT.COM /R /H \"%%L\"" /FREG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\edit\command" /VE /D "EDIT.COM /H \"%%L\"" /FMost people use external applications to open NFO and DIZ files, now you don't need them.Interesting method for viewing NFO/DIZ files - I use a similar method:Add a "Command Prompt" option to the right-click menu:CMD.EXE /K TYPE "%l"Or, if you don't want it to display all at onceCMD.EXE /K TYPE "%l" | MOREThen it doesn't have to open with EDIT.COM and it's easier to scroll... Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 13, 2005 Author Share Posted January 13, 2005 (edited) @pinout, based on yours i writed this. basically the same but the command window will pause so you can read the entire text if you like and after any keypress will exit NFO and DIZ Files on the Command PromptREG ADD "HKLM\SOFTWARE\Classes\.nfo" /VE /D "ASCII" /FREG ADD "HKLM\SOFTWARE\Classes\.diz" /VE /D "ASCII" /FREG ADD "HKLM\SOFTWARE\Classes\ASCII\DefaultIcon" /VE /D "%WINDIR%\system32\shell32.dll,70" /FREG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\open\command" /VE /D "CMD.EXE /K TYPE \"%%L\" &&ECHO. &&PAUSE &&EXIT" /For...REG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\open\command" /VE /D "CMD.EXE /K TYPE \"%%L\" &&COLOR 1B &&ECHO. &&PAUSE &&EXIT" /For...REG ADD "HKLM\SOFTWARE\Classes\ASCII\shell\open\command" /VE /D "CMD.EXE /K TYPE \"%%L\" | MORE &&ECHO. &&PAUSE &&EXIT" /Fsee "HELP CMD.EXE" or "HELP TYPE" for more info about how to changhe command prompt colors, prompt cursor etc... (there is something i've been working on related)... Edited January 13, 2005 by SiMoNsAyS Link to comment Share on other sites More sharing options...
prathapml Posted January 13, 2005 Share Posted January 13, 2005 @SiMoNsAySThe shortened variable you use here, can be called a perfect way to waste time (on typing and replacing text in notepad) (no offense meant).Either just use %ProgramFiles% itself in the batches, or shorten it to something *REALLY* short like %PF% - the usage of such a big variable (like %SHORTPF%) is unnecessary. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 13, 2005 Author Share Posted January 13, 2005 @prathapml well that's not really accurate, no offense . i don't use the variable to don't write the long "%PROGRAMFILES%" i use it because some of the reg entries need to be 8 digits.this way "Program Files" becomes "Progra~1". but yes you can set "%SHORTPF%" to "%PF%" or whatever you like Link to comment Share on other sites More sharing options...
member11 Posted January 13, 2005 Share Posted January 13, 2005 please make this thread STICKY. This is a good one and i'm sure we will have a lot of updates to do later on.thanks for contributing. I'll test it out. Link to comment Share on other sites More sharing options...
pinout Posted January 13, 2005 Share Posted January 13, 2005 ...i use it because some of the reg entries need to be 8 digits...I don't understand why would a registry entry need to be only 8 characters? Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 13, 2005 Author Share Posted January 13, 2005 (edited) I don't understand why would a registry entry need to be only 8 characters?because i started based on a code developed by @jdoe for firefox and to ensure shortcuts to .exe and .ico files would work under batches on DOS, paths were shorted like "%SHORTPF%\MOZILL~1\FIREFOX.EXE".i know it doesn't make so much sense when trying to locate for example "%SHORTPF%\Windows Media Player\wmplayer.exe" but that's the way i started the batch and bc of that i still preserve that variable anyway if you don't like it you can search/replace %SHORTPF% with %PROGRAMFILES%, %PF% or %IMAGEEK% loledit: i suggest the mod that changed the title of the topic to "Registering file Extensions Unattended" next time use propper capitalizations Edited January 13, 2005 by SiMoNsAyS Link to comment Share on other sites More sharing options...
jdoe Posted January 14, 2005 Share Posted January 14, 2005 @prathapmlI don't really understand what's the big deal about a variable name (%SHORTPF%). It's JUST a variable name after all.I provide many batches samples in MSFN forum and seeing SiMoNsAyS using some of them is proving me that they are not useless.Go ahead Simon, use it all if you need them.I think that it was not the best post of prathapml. Link to comment Share on other sites More sharing options...
prathapml Posted January 14, 2005 Share Posted January 14, 2005 Its not a big deal.As I said above, the intent of the post was a suggestion - that using such a long variable somehow seems unnecessary - I like to keep things as "tight" as possible.What you do finally end up doing depends on personal preferences. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 18, 2005 Author Share Posted January 18, 2005 @jdoe, many thanks. i've used most of the cmd scripts you posted here @prathapml, ok no problem you suggested and i replied added acrobat7-pdf extension by request Link to comment Share on other sites More sharing options...
Yzöwl Posted January 18, 2005 Share Posted January 18, 2005 (edited) Zoom Player WMV Pro with all shown associations.I use the zip version, so I'm only guessing the default install location, if it's not correct do a search & replace on it first.Attached due to size!<Edit>File reloaded due to error, for anyone who has the previous one, the end of the command strings said \"%L\" instead of \"%%L\"</Edit>ZPassoc.txt Edited January 18, 2005 by Yzöwl Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted January 18, 2005 Author Share Posted January 18, 2005 @Yzöwl, thanks for the info.linked on first post Link to comment Share on other sites More sharing options...
stevenp Posted January 25, 2005 Share Posted January 25, 2005 Why are all you guys doing weard about the .nfo files? :S You can open them using Notepad, nothing more! :+Great post, but one thing:does anyone has file associations for Notepad2? Link to comment Share on other sites More sharing options...
DigeratiPrime Posted January 26, 2005 Share Posted January 26, 2005 why not just rename notepad2.exe as notepad.exe and replace the exes? That way everything that opened with notepad will now open with notepad2. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now