This is the cheat sheet from the Tech Tips With Adam Command Prompt Shorts — every command from the series on one page, with what it does and a link to the video that shows it. They are all built into Windows 10 and Windows 11; there is nothing to download or install.
Open Command Prompt (Windows key, type cmd, Enter), copy a command, change the file name to yours, and press Enter. None of these change or delete anything — they only look and report.
01Find files
Lost a file and Windows search is crawling? These find it from the command line.
where /r C:\ report.pdfSearches every folder on C: for that file and prints the full path.
▶ Watch the Shortwhere /r %USERPROFILE% report*.pdfFaster: only your own folders. * matches any characters.
▶ Watch the Shortdir /s /b *.jpg *.pngLists every matching file with its full path. /s = subfolders, /b = paths only.
▶ Watch the Shortforfiles /s /m *.* /c "cmd /c if @fsize GTR 104857600 echo @path"Finds files bigger than 100 MB (104,857,600 bytes) - great for freeing up space.
▶ Watch the Shortfindstr /s /i /n "invoice" *.txtSearches INSIDE files for text. /i ignores case, /n shows line numbers.
▶ Watch the Short02See your folders
Get a map of what is inside a folder.
tree /fDraws every folder and file as a tree (the one that looks like The Matrix).
▶ Watch the Shorttree /f > tree.txtSaves the whole tree to a text file you can open, search or send.
▶ Watch the Shorttree /f | findstr /i "\.txt$"Shows only files ending in .txt. Swap .txt for .docx, .pdf, .log...
▶ Watch the Short03Your PC and network
Quick answers about what your PC is doing.
tasklistEvery running program, its process ID (PID) and memory use.
▶ Watch the ShortipconfigYour PC's IP address, and your router's (Default Gateway).
▶ Watch the Shortipconfig /flushdnsClears saved website lookups. Try it when one site won't load but works on your phone.
▶ Watch the ShortsysteminfoWindows version, PC model, CPU and RAM. Takes a few seconds.
▶ Watch the Shortsysteminfo | findstr /B /C:"OS Name" /C:"OS Version"Just the Windows name and version.
▶ Watch the Short04Handy tricks
Rather someone just sorted it?
Lost files, a slow PC or a network that won't behave — AYVAtech covers Penrith & Western Sydney, onsite or remote.
Commands tested on Windows 11. Searching the whole C: drive can take a minute or two — press Ctrl + C to stop it early.
