Archive for May, 2013

Find the latest file using Windows batch script

FOR /F "delims=|" %%I IN ('DIR "*.*" /B /O:D') DO SET NewestFile=%%I

No Comments

Prompt for Input in Windows batch script

@echo off
set /p id="Enter ID: " %=%

No Comments