Windows – Keep cmd.exe command history between sessions?

Is there a way to keep the cmd command history between sessions? Solution: Switch to using PowerShell, and follow the instructions at the following site to enable history: https://devblogs.microsoft.com/powershell/perserving-command-history-across-sessions/ (archived) Alternatively, in cmd.exe, you can use “doskey /history” at the end of your session to show what you typed in that session, but theres no…

Read More

Windows – Keyboard-Only navigation between Full-Screen MS Remote Desktop remote system and local system

Using Microsoft Remote Desktop Client in Windows 7 in full screen, is there another way to switch from the remote machine (which captures all input from the keyboard) to the local machine, aside from using the keyboard combination for toggling full screen of the remote desktop session? Solution: The trick is to stop Remote Desktop…

Read More

Windows – Kill a process with a specific “Command Line” from command line

Is there a command line utility that kills all processes with a specific command line? E.g. kill all processes named “java.exe” with a command line that contains “-jar selenium-server.jar”. This is possible through process explorer. Solution: In Windows XP you can do this easily using WMIC, the WMI Console. From a command prompt, type the…

Read More