Date created: Wednesday, August 22, 2018 8:51:00 AM. Last modified: Saturday, October 3, 2020 5:29:48 PM
PuTTY Notes
Log to a directory using date and time in the path and file name:
D:\PuTTY-Logs\&Y-&M\putty-&Y-&M-&D--&T-&H.log
Logon script to create the monthly directory:
@echo off
set year=%date:~-4%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
mkdir D:\PuTTY-Logs\%year%-%month%
Previous page: Resuming Exchange Installer
Next page: Windows 7 - MTU Settings