Posts

Showing posts with the label DOSKEY

Windows Tips: shortcuts and aliases

Image
Windows tips: shortcuts and aliases https://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt - interesting approaches how to add temporary environment variables and aliases Shorts (aliases) for some exe's apps if you already have these apps: code - runs Visual Studio Code text editor code .   - run it with full content current directory as a context subl - runs Sublime Text 2|3 text editor subl  .  - the same as for VS code [ cmd.exe ] - get aliases doskey /MACROS:ALL [ powershell.exe or pwsh.exe ]  - get aliases https://mcpmag.com/articles/2014/06/10/exe-alias-in-powershell.aspx - here you can read also how to create aliases alias - powershell internal aliases get-alias | where {$_.ReferencedCommand -match "exe"} | format-table Name,Definition -autosize  - this command will show you external .EXE apps aliases  [ bash.exe or git-bash.exe ]  - get aliases alias

Some useful DOS commands which I have never used before

Создание расписания выполнения команд (Sheduler): http://technet.microsoft.com/ru-ru/library/cc750982.aspx команда: at c:\> at 23:00:00 /every:monday cmd /c sysbkup.bat команда: doskey http://users.cybercity.dk/~bse26236/batutil/help/DOSKEY_E.HTM Setup Persistent Aliases & Macros in Windows Command Prompt (cmd.exe) using DOSKey создание псевдонима для dos консоли [cmd.exe] c:\> doskey ls=dir /od $*   Saving all typed commands to file : doskey /history >> d:\cmd_history.txt F7 to display the command history popup window. --------------------------------------  Some fun with command line prompt, type: prompt $d$s$t$s$e$s$p$s$$ to recover, type: prompt