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.
Yesterday morning I opened my computer and noticed that I had a Window 10 feature update waiting to be installed. I completed the process and started working on the Rest API that I am creating. I am using Node.js and running my server with Express.js.
I booted up the server and immediately got a server error. I had worked on the application the day before and knew that it was running without any problems.
I was working on my computer today when I needed to search for a topic on Google. To my surprise the internet had stopped working. I quickly checked on another device and found that the internet was working there.
It was just my computer with the problem.
I have had this problem in the past and use ipconfig to fix it.
The commands are:
ipconfig /registerdns ipconfig /release ipconfig /renew The part that I always forget to do is reboot my computer after I do the renew.