xD I am creating a program that generates a batch file that creates a log file of its action something like: echo echo %%time%% - The action was made>>"%%appdata%%\logfile.txt">>"batchfile.bat"
I know that if I want a sign of percent in echo output I need to put two of them %%.
So what about a sign ">>"?
You need to escape > [and < | &] and maybe (). like this:
echo ^>
echo ^>^> blabla
====================================
Life is too important to be taken seriously.M2
Why not intergrate it into 1? Because if one batchfile preforms an action it can record it
Instead of creating another batch to find whats going on & record
Eg:
Set folder=banana
Md %folder%
Echo %folder% was created>>log.txt
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |