LoginSignup
1
1

More than 5 years have passed since last update.

Windowsの日付取得

Posted at

@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

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1