Date created: 08/22/18 08:51:00. Last modified: 10/03/20 17:29:48

PuTTY Notes

Log to a directory using date and time in the path and file name:


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: OpenVPN on Windows XP
Next page: VM Tuning