DOS: How do I add date and time info to filename?

IMPORTANT NOTE: The REN command does not support “insert mode”. CURRENT DATE AND TIME EXAMPLE CURRENT DATE AND TIME EXAMPLE IN YYYMMDD FORMAT “DATE MODIFIED” vs “DATE TAKEN (EXIF data)” EXAMPLE COMMANDS/FORMULAS %date:~-4%%date:~4,2%%date:~7,2% LFNFOR On FOR %v IN (pic*.*) DO REN %v abc%v

DOS: How do I move files with a specific characters in filename

In this example, we’re trying to move PDF files that have AB, BC & CD starting at the 5 character position. EXAMPLE SCRIPT NAME: “move.bat” REM Creates temp.txt with filenames that have AB, BC & CD DIR /B SENT\????AB*.pdf >> C:\temp.txt DIR /B SENT\????BC*.pdf >> C:\temp.txt DIR /B SENT\????CD*.pdf >> C:\temp.txt REM Copies files from temp.txt to PDF Archive […]

Reoccurring question: My computer is frozen and it won’t shutdown. What do I do?

Generally speaking, if your electronic device doesn’t respond, you can power down the device by holding down the power button for at least 10 seconds. The key factor is the amount of time the power button is held down for. 10 seconds is a conservative estimate even though many devices shut down after around 5 seconds. […]