how to make bat file

January 30th, 2022

Is there any way to make a .bat file that can copy the contents of a text file (.txt file)
I am a complete layman about the making of bat files, please if there is someone who can provide some, post here.

Answer #1
There is some tutorial stuff here…
http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html
Answer #2
filename1.txt >> output.txt
filename2.txt >> output.txt
will combine the output off both files
*.txt >> output.txt
might output all text files in a folder to a single file
never tried it tho
or try
dir c:\foldername /b > names.txt
that will output a list of names to a file which you can add the ” >> output.txt” to with a macro in a text editor
> = output to
>> = output to & append to file
with the info chris2u gave you you can play with the commands if need be
Answer #3
Thanks a lot for the help,
By “contents of the file” here I mean to say the text written inside the .txt file, not the filename.
Answer #4
lolol ur watching the tutorials on youtube about making viruses arent u? naughty naughty

 

| Sitemap |