Date created: 08/22/18 08:51:00. Last modified: 08/22/18 08:51:14

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: VM Tuning