Windows Commands

Collection of Windows commands commonly used in development.

Domain resolution

The nslookup command can be used to check that the correct DNS server is being reached and that the name is resolving into IP.

1
nslookup <subdomain.domain.com>

Flush DNS changes

This command forces any DNS changes to propagate to servers despite DNS caching.

1
ipconfig /flushdns

List all files in the current directory

Below is an example of a command that lists all files in a given directory and stores them into a text file named LlistOfFiles.txt.

1
dir /s /b /o:gn >listOfFiles.txt

List all environment variables

1
SET

Kill all instances of running NodeJS.exe

1
taskkill /im node.exe /F