I make batch files to do loads of the things i really dont wanna do when im at work and home, for example, i have a batch file that i use to map my network drives at home, and a startup batch fiule that starts all of my programs 'cause windows dosn't seem to do it anymore on its own.
I have a question, can batch files append text to an already existing text document? For example, i have a txt called "List.txt" and a batch file that make lists of specific folders, for example, here it is right now.
Code:
@Echo off
cls
tree /a "K:\active" > "C:\list1.txt"
tree /a "K:\inactive" > "C:\list2.txt"
tree /a "M:\video" > "C:\list3.txt"
tree /a "L:\users" > "C:\list4.txt"
is is possible to make all of these just append to the end of one txt file?
Thanks! let me know if im not clear somewhere, i failed high school english for a reason! haha