I use this command for creat a text file in dos:
Code: Select all
copy con c:\hi.txt
and then I enter the text and press:
Code: Select all
Ctrl+z
for save
or
Code: Select all
echo Hi>c:\hi.txt
echo I am mohammad>>c:\hi.txt[/code]
and for display it:
Code: Select all
type c:\hi.txt
My Questions:
how to edit created file and remove some of texts from it?
is exist more commands for creat a text file?