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 - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -