answersLogoWhite

0

There are different ways to create file..

  1. Run this command - "copy con abc.txt" .. It will give you the blank space.. Write the contents of that file and then press F6 and then press Enter..
  2. Run this command - "edit abc.txt" .. It will open the DOS editor.. Write the contents of the file and then press Ctrl Z.
  3. Please note that file will be created at the current path.. If you are working at C:\data, then file will be created under Data directory in C drive..
  4. You can create a text file that lists the result of a DIR command like this:

DIR>Dirlist.txt

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

How does DOS redirection operators affect output and input?

The Redirection commands write/display the designated file/text to a specified location, whether it is a .txt file or another DOS terminal


You move a file using which commands?

You need to use the MS-DOS commands to move a file.


A file that stores multiple DOS commands is called?

Batch File


Internal DOS commands and their meanings?

the deleted file if ms dos can be recovered if you use the command mention below immediately,the command is : need External Dos commands and internal dos commands with their meaning


What is a batch file?

A batch file is the text file that contains a series of commands that MS-DOS carries out. A batch file is created by COPY CON command after specifying a file name by using extension as .BAT in DOS mode.


Difference between file and folder in dos commands?

what is the differences between a file and a folder


What are the features of batch file programming?

Batch file programming is dos based programming you have to use dos commands .It is very good to perform some repetitive task in computer programming is easy you should only know the dos commands.


What is the bash command to display a text file 'sonents' to the screen similar to the DOS type command?

It's the cat command. cat file If you want paging, then try more or less commands also.


How do you create a batch file on your computer?

You create a batch file by opening up a text editor, the standard windows one is Notepad. Next just start coding using dos commands, for a tutorial visit http://www.allenware.com/icsw/icswidx.htmOnce you finish writing your file just click File-->Save As--> fileName.batAlso choose all files under the "Save as Type" drop down menu.


Unlock files in directory using dos commands?

Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.


What are the feature of dos operating system?

it reads only text - based commands ( CUI )


What does autoexebat file does?

An AUTOEXEC.BAT file contains MS-DOS commands which are executed automatically when a Personal Computer boots.