directory - Adding comments to Windows DIR command output -


after displaying date information identically named file possible add additional comment on same line (for context)?

here's i'm using doing:

    dir c:\folder1\file.txt | find "/" >> c:\logs\log.txt     dir c:\folder2\file.txt | find "/" >> c:\logs\log.txt 

when attempt add comment using echo command echo command displayed.

    dir c:\folder1\file.txt | find "/" | echo "comment1" >> c:\logs\log.txt     dir c:\folder2\file.txt | find "/" | echo "comment2" >> c:\logs\log.txt 


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -