@ECHO OFF
call:genname build_logs/FRAS
set fras_logname=%newname%.log
python setup.py build >> %fras_logname%
:::::::::::::::::: FUNCTION ::::::::::::::::::::::::
:genname
set d1=%date:~-4,4%
set d2=%date:~-10,2%
set d3=%date:~-7,2%
set t1=%time:~0,2%
::if "%t1:~0,1%" equ " " set t1=0%t1:~1,1%
set t1=%t1: =0%
set t2=%time:~3,2%
set t3=%time:~6,2%
set filename=%~1
set newname=%filename%_%d1%%d2%%d3%_%t1%%t2%%t3%
I am trying to figure out what this batch file does? I am thinking it creates a log file with date and time but when I try to run this it gives this The system cannot find the path specified.
Kindly help!