Subscribe to How-To Geek Підписатись на How-To Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Change the Default Editor for Batch Files in Vista Змінити редактор за замовчуванням для пакетних файлів в 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? Чи помітили ви, що варіант "Типи файлів" була повністю вилучена з Vista, і немає ніякого вбудованого спосіб змінити редактор для багатьох типів файлів? Sure, you can change the default application used to open the file, but you can't change what happens when you right-click / edit. Звичайно, ви можете змінити програму за замовчуванням використовується для відкриття файлу, але ви не можете змінити те, що відбувається, коли ви клацніть правою кнопкою миші / Edit.

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. Ви можете прямо рубати реєстрі, або є безкоштовна утиліта, яка додає функціональність назад ... ми покажемо вам, як зробити обидва методи.

image

Using the Registry Hack Method Використання реєстру зламати методом

Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Відкрийте regedit.exe шляхом пошуку меню "Пуск" або запустити вікно, а потім переглядати до наступного ключа:

HKEY_CLASSES_ROOT\batfile\shell\edit\command HKEY_CLASSES_ROOT \ batfile \ Shell \ Edit \ команда

image

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) Двічі клацніть на (за замовчуванням) Key, щоб відкрити його, а потім замінити шляхи блокнот з вказівкою повного шляху за обраними редактором, і не забудьте залишити простір, а потім 1% в кінці (який вставляє поточний файл ім'я в дорозі)

Using the 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. Використання безкоштовних і відкритих джерел типи утиліти, ви можете легко змінювати типи файлів ... просто знайти "Летюча миша" розширення до списку, або фільтр по "batfile класу", потім відкрити властивості. You can easily replace the editor by just using the yellow icon next to the drop-down and choosing your preferred editor. Ви можете легко замінити редактор просто, використовуючи жовтий значок біля спадного і вибрати потрібний редактор.

image

Of course, you can use this application to change the default editor for any file type, not just batch files. Звичайно, ви можете використовувати цю програму, щоб змінити редактор за замовчуванням для будь-якого типу файлу, а не тільки пакетні файли.

Download Types from sourceforge.net Типи файлів для завантаження з sourceforge.net

This article was originally written on 07/27/08 Tagged with: Ця стаття була спочатку написана на 07/27/08 тегами: Managing Files and Folders Керування файлами і папками , , Windows Vista Windows Vista

Daily Email Updates Email Щоденні оновлення

You can get our how-to articles in your inbox each day for free. Ви можете отримати наші довідкові статті у Вашу поштову скриньку щодня безкоштовно. Just enter your name and email below: Просто введіть ваші ім'я та адресу електронної пошти нижче:


Name: Ім'я:
Email: Електронна пошта:

Comments (5) Коментарі (5)

  1. abhishek Abhishek

    I liked the application, it will come handy some times, thanks for sharing. Мені сподобалася заява, воно прийде Handy кілька разів, спасибо за обмін.

  2. Jules Bloomenthal Жюль Bloomenthal

    types.exe – great idea! types.exe - чудова ідея! (and how foolish of Vista not to provide the functionality). (і як нерозумно Vista не забезпечують функціональність). BUT! АЛЕ! It dies on my machine. Він помирає на моїй машині. (Vista error simply says “types has stopped working”). (Vista помилки просто каже: "типи перестала працювати").
    Any suggestions? Будь-які пропозиції?

  3. Mike Mike

    Just goes to show that Microsoft didn't change anything on the backend. Просто говорить про те, що Microsoft нічого не змінило по бекенда. This hint works exactly the same on XP. Це натяк працює точно так само на XP. Thanks for the info… Дякуємо за інформацію ...

  4. r0ck3t3r r0ck3t3r

    Very nice article, but Scite did not like being started this way. Дуже гарну статтю, але Scite НЕ подобалося, що початок цього шляху. I'll have to play around with it a bit more. Мені доведеться пограти з ним трохи більше.

  5. George Джордж

    Worked with Perl as well. Працював з Perl, а. Thanks! Спасибо!


Leave a Comment Залишити коментар




Leave your Залиш свій friendly дружній comment here. коментарі.

If you have a computer help question, Якщо у вас є комп'ютер допоможе питання, click here to leave it on the forums Натисніть тут, щоб залишити його на форумах instead. замість.

Note: Your comment may not show up immediately on the site. Примітка: Ваш коментар може не з'явитися відразу на місці.

Our Friends Наші друзі
Getting Started Приступаючи до роботи


About How-To Geek Про How-To Geek
What Is That Process? Що це за процес?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe Ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. Всі права захищені.