How To Make A Batch File That Makes Files.
Top Comments
Video Responses
All Comments (124)
-
@lyrison try echo. >> fimename.exe
-
@mlortime Yeah, i know...
-
use the > symbol
echo THis is in the file > whatever.txt
that will overwrite the file
to add to a file use >>
echo whatever is in the file plus this >> whatever.bat
-
@ColeSlawProductions yeah also, i'm thinking that "md" stands for "make directory"
-
@mlortime Yeah it was! i want to know how to make a .bat that can create another file like a .txt or .htm or another .bat!
-
@tibo442 I tried this on my computer, but they still come up as folders titled file.bat, file.txt, etc.
-
@mlortime but you can after md name . file sort exemple
md file.txt
md file.bat
md file.png
...
or
echo "here_whats_into_the_file"(whi
tout "") >> file_name.txt d'ont type a " " then i'ts not work but typ thise "_"
by
-
-
now put a loop on it :D
-
@TheSandvichTrials "goto create" hmm then it will create forever wont it?
DUDE THAT WAS A DIRECTORY NOT A FILE!!!
mlortime 2 years ago 19
you are creating folders with the md command!!!
to create files you just run the command:
echo file text>>filename.txt
Gimis40 3 years ago 4