← Marco Roccos Digital Garden

Windows cmd Commands

shutdown /r /o
Command, which restarts your PC and launches the Advanced Start Options menu, which is where you can access Safe Mode and Windows recovery utilities.

assoc
to display a full list of filename extensions and program associations.

assoc .txt=
will change the file association for text files to whatever program you enter after the equal sign.

fc /l "C:\Program Files (x86)\example1.doc" "C:\Program Files (x86)\example2.doc"
File Compare. Typing /b compares only binary output, /c disregards the case of text in the comparison, and /l only compares ASCII text.