воскресенье, 25 сентября 2016 г.

Персональный скрипт инициализация консоли в Windows

Для создания собственных алиасов можно разместить в домашнем каталоге пользователя `bat`-скрипт.

Пример ".autorun.bat":

@ECHO OFF
doskey ls=dir /b $*
doskey ll=dir $*
doskey cat=type $*
doskey ..=cd..
doskey grep=find "$1" $2
doskey mv=ren $*
doskey rm=del $*
doskey python3=python

Для регистрации скрипта нужно установить ключ реестра:

Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"Autorun"="%USERPROFILE%\\.autorun.bat"

Источник: http://www.rhyous.com/2010/10/20/adding-an-alias-in-windows-7-or-making-ls-dir-in-a-command-prompt/

2 комментария:

  1. Play “Mariya” slot machine for free in 2021
    It comes 바카라사이트 in three sizes 카지노사이트 and five reels - three wilds, a free spins and a maximum of 4,000x your bet. To play it you are required to set a minimum bet of $20 and a maximum bet of 1

    ОтветитьУдалить
  2. When your successful streak stops, resume your initial minimal bet till the table goes hot again. The casino's biggest benefit (the "home edge") is that the participant has to behave first. If a participant "busts" , the on line casino immediately takes the participant's cash. If the casino 토토사이트 then "busts" on the identical hand, the participant nonetheless loses.

    ОтветитьУдалить