Change the Default Editor for Batch Files in Vista Zmeniť predvolený editor pre dávkové súbory vo Vista
Have you ever noticed that the File Types option was completely removed from Vista, and there's no built-in way to change the editor for many file types? Všimli ste si niekedy, že Typy súborov varianta bola úplne vymazaná z Vista, a nie je stavaný z-do spôsob, ako zmeniť editor pre veľa typov súborov? Sure, you can change the default application used to open the file, but you can't change what happens when you right-click / edit. Iste, môžete zmeniť predvolené aplikácie pre otvorenie súboru, ale nemôžete zmeniť, čo sa stane, keď dobrý-cvaknúť / upraviť.
You can either directly hack the registry, or there's a freeware utility that adds the functionality back… we'll show you how to do both methods. Môžete buď priamo hack v registri, alebo tam je freeware utilita, ktorá pridáva funkcie späť ... my vám ukážeme, ako to urobiť obe metódy.

Using the Registry Hack Method Používanie Registry Hack metódy
Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Otvoriť cez regedit.exe hľadanie Štart menu alebo spustiť poľa a prejdite nadol do nasledujúceho kľúča:
HKEY_CLASSES_ROOT\batfile\shell\edit\command HKEY_CLASSES_ROOT \ batfile \ shell \ upraviť \ command

Double-click on the (Default) key to open it up, and then replace the path for notepad with the full path for your preferred editor, making sure to leave a space and then the %1 at the end (which inserts the current file name into the path) Double-kliknite na (Predvolené) kľúčom otvoriť ho a potom nahradiť cestu poznámkový blok s celou cestu na Váš preferovaný editor a nezabudnite nechať medzeru a potom 1% na konci roka (čo vloží aktuálny súbor meno do cesty)
Using the Easy Method Jednoduché použitie metódy
Using the freeware and open-source Types utility, you can easily change file types… just find the “bat” extension in the list, or filter by the “batfile” class, then open up the properties. Pomocou freeware a open-source Typy utilita, môžete ľahko zmeniť typy súborov ... len nájsť "netopier" rozšírenie v zozname, alebo filtrovať podľa "batfile" triedy, potom otvoriť vlastnosti. You can easily replace the editor by just using the yellow icon next to the drop-down and choosing your preferred editor. Môžete ľahko nahradiť editor používa iba žltú ikonu vedľa drop-down a výber preferovaného editora.

Of course, you can use this application to change the default editor for any file type, not just batch files. Samozrejme, môžete použiť túto aplikáciu zmeniť predvolený editor pre akýkoľvek typ súboru, a to nielen dávkové súbory.
Download Types from sourceforge.net Stiahnuť Druhy z sourceforge.net

Daily Email Updates Denný Svářeč
You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:



I liked the application, it will come handy some times, thanks for sharing. Páčilo sa mi aplikácie, bude hodiť nejaký čas, vďaka za zdieľanie.
types.exe – great idea! types.exe - skvelý nápad! (and how foolish of Vista not to provide the functionality). (a ako hlúpe Vista neposkytuje funkčnosť). BUT! ALE! It dies on my machine. To zomrie na mojom stroji. (Vista error simply says “types has stopped working”). (Vista chyba jednoducho hovorí, že "druhy prestal pracovať").
Any suggestions? Any suggestions?
Just goes to show that Microsoft didn't change anything on the backend. Len dokazuje, že Microsoft nič nezmenili na backend. This hint works exactly the same on XP. Tento pokyn funguje úplne rovnakým on XP. Thanks for the info… Vďaka za info ...
Very nice article, but Scite did not like being started this way. Veľmi pekný článok, ale SciTech nepáčila sa začal týmto spôsobom. I'll have to play around with it a bit more. Budem musieť hrať sa s tým trochu viac.