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
Post a Comment