@echo off
set YYYYMMDDHHMMSS=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%
echo ################# >> d:\temp\test.log
echo %YYYYMMDDHHMMSS% >> d:\temp\test.log
echo %1 >> d:\temp\test.log
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme