Create Text File
Hello everyone,
This is a post for "Creating a Text file With Batch Coding "
Continue reading for more info about the amaizing post ahead,
Coding Follows,
@echo off
title Create text file
echo Enter the name of drive in which you want to create text file
set/p drive=
%drive%:
pause
echo Enter the name of folder in which you want to create text file
set/p folder=
cd /%folder%
pause
echo Enter the name of text file
set/p name=
pause
cls
echo After writting eveything please press ctrl+z
copy con %name%.txt
pause
Don't forget to press Ctrl+z otherwise your text file doesn't create.
Hello everyone,
This is a post for "Creating a Text file With Batch Coding "
Continue reading for more info about the amaizing post ahead,
Coding Follows,
@echo off
title Create text file
echo Enter the name of drive in which you want to create text file
set/p drive=
%drive%:
pause
echo Enter the name of folder in which you want to create text file
set/p folder=
cd /%folder%
pause
echo Enter the name of text file
set/p name=
pause
cls
echo After writting eveything please press ctrl+z
copy con %name%.txt
pause
Don't forget to press Ctrl+z otherwise your text file doesn't create.
Comments
Post a Comment