I'm writing a simple batch file to move, then delete files older than 7 days. Using Robocopy for the move, then using Forfile to search the old files and Del for the deletion of files. My problem is ...
for /f "tokens=1,2,3,4 delims=/ " %%a in ( 'date/t' ) do set y=%%d for /f "tokens=1,2,3,4 delims=/ " %%a in ( 'date/t' ) do set m=%%b for /f "tokens=1,2,3,4 delims ...
Attaching a remote drive or directory on a Windows box is called “drive mapping” though the process is essentially the same as what we call mounting in the Unix world. While I rarely spend any ...
Even though batch files are like vintage when it comes to operating systems, they are one of the best ways to get things done. If you are in a kind of work that asks you to run some pre-defined ...
How to permanently map OneDrive to a drive letter using a batch file Your email has been sent Previously, we outlined a method for mapping a drive letter to Microsoft OneDrive using the old “subst” ...