Appending variable to file name problem.
Posted: 07 Sep 2011 01:24
Please help. (Windows 7) The following script creates “SUCCESS_.log” file
Expecting SUCCESS_12_myfile.log
What I am doing wrong? Thanks!
@ECHO OFF
SET fn =12_myfile
echo ENDED %TIME% %DATE%>>SUCCESS_%fn%.log
Expecting SUCCESS_12_myfile.log
What I am doing wrong? Thanks!
@ECHO OFF
SET fn =12_myfile
echo ENDED %TIME% %DATE%>>SUCCESS_%fn%.log