Change the Default Editor for Batch Files in Vista Change Default par sērijas Faili Vista Editor
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? Vai jūs kādreiz esat ievērojuši, ka File Types iespēja bija pilnībā izslēgta no Vista, un par to nav iebūvēts veids, kā mainīt redaktoru daudz failu tipiem? Sure, you can change the default application used to open the file, but you can't change what happens when you right-click / edit. Protams, jūs varat mainīt noklusējuma piemērošanu, ko izmanto, lai atvērtu failu, bet nevar mainīt to, kas notiek, kad ar peles labo pogu noklikšķiniet / rediģēt.
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. Jūs varat vai nu tieši kapāt reģistra, vai arī tur ir freeware utilīta, kas papildina funkcionalitāti atpakaļ ... mēs jums parādīsim kā to izdarīt abām metodēm.

Using the Registry Hack Method Izmantojot Registry Hack Method
Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Atvērt regedit.exe caur izvēlni Sākt meklēšanu vai palaist rūtiņu un pēc tam pārlūkojiet uz leju, lai šādu atslēgu:
HKEY_CLASSES_ROOT\batfile\shell\edit\command HKEY_CLASSES_ROOT \ batfile \ shell \ Edit \ komanda

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-click uz (Default branch) taustiņu, lai atvērtu to uz augšu, un tad nomainīt ceļu notepad ar pilnu ceļu uz vēlamo redaktoru, pārliecinoties atstāt telpas un pēc tam% 1 at beigās (kas iesprauž pašreizējo failu nosaukumu uz ceļa)
Using the Easy Method Izmantojot Easy Method
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. Izmantojot Freeware un atvērtā pirmkoda veidi, lietderība, var viegli mainīt failu tipiem ... vienkārši atrast "BAT" pagarinājumu sarakstu vai filtrēšana pēc "batfile" klases, tad atvērt īpašības. You can easily replace the editor by just using the yellow icon next to the drop-down and choosing your preferred editor. Jūs varat viegli aizstāt redaktors, ko lieto tikai dzelteno ikonu blakus nolaižamā un izvēloties vēlamo redaktors.

Of course, you can use this application to change the default editor for any file type, not just batch files. Protams, Jūs varat izmantot šo pieteikumu, lai mainītu noklusēto redaktoru jebkuru faila tipu, ne tikai partiju failus.
Download Types from sourceforge.net Download tipi no sourceforge.net

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:



I liked the application, it will come handy some times, thanks for sharing. Man patika pieteikums, tas būs ērts vairākas reizes, thanks for sharing.
types.exe – great idea! types.exe - lieliska ideja! (and how foolish of Vista not to provide the functionality). (un cik muļķīgi Vista nevar nodrošināt funkcionalitāti). BUT! BET! It dies on my machine. Tā dies par manu mašīnu. (Vista error simply says “types has stopped working”). (Vista kļūda vienkārši saka "tipi ir pārtraucis darbu").
Any suggestions? Any suggestions?
Just goes to show that Microsoft didn't change anything on the backend. Tikai tas parāda, ka Microsoft nav neko mainīt uz aizmuguri. This hint works exactly the same on XP. Šis padoms darbojas tieši paši par XP. Thanks for the info… Paldies par info ...
Very nice article, but Scite did not like being started this way. Ļoti jauks raksts, bet Scite nepatika ir uzsācis šo ceļu. I'll have to play around with it a bit more. Es ņemšu spēlēt aptuveni līdz ar to nedaudz vairāk.