Windows

Problems with conflicting ports

I am having a problem with port 8081 conflicting with Azure Cosmos DB emulator and my Docker containers. The obvious fix was to change the Docker container that was using the host port 8081. I was surpised that Azure Cosmos DB was using this port so I decided to ask Perplexity why this was happening. The answers I got back were impressive. Once my containers are up and running I can’t use Azure Cosmos DB Emulator because I get a message from the Emulator saying that Port 8081 is in use.

How to Setup a Permanent Doskeys Macro File

I needed to recreate my doskeys.macro file on a new computer. The following commands show how to setup permanent doskey commands. Open Regedit. Go to the following regedit directory. HKEY_CURRENT_USER\Software\Microsoft\Command Processor Create a new key named Autorun. REG_SZ Value doskey /macrofile="d:\util\macros.doskey" My macros.doskey These are short key commands that I use every day. cr=createcmd cu=cleanup dl=dlist no="C:\Program Files\Notepad++\notepad++.exe" $1 mp=D:\Util\BuildMp3Tag.exe Added note I have found a better way to install this registry setting.

Using Command Prompt in Windows 10

In one of the Windows 10 feature upgrades Microsoft decided to make Powershell the default command shell on the Windows start menu (Win-X keys). I use Powershell occasionally and wanted the option to use the Command prompt instead. To do this go to: Settings > Personalization > Taskbar There is an option to replace Windows Powershell with the command prompt.