answersLogoWhite

0


Best Answer

you must have notepad

press windows button then open run type cmd and enter.

after command prompt shows type the drive location and like below example.

example creating pks.txt file after cmd<enter>

CD desktop<enter>

notepad pks.txt<enter>

will ask you to do you want to create new text file.

press yes button and then a txt file named pks.txt will be created on desktop

thank you.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create a txt file from command prompt?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Computer Science

What does txt mean on a computer?

txt stands for Text. It is often used by plain text editors as the suffix to the file name. There is no formatting associated with most txt files. You should be able to open them with a word processor, notepad or wordpad on your computer.


How can wild cards be used to retrieve identical files?

Because - for example - if you search for abcd*.* - the file system will search for any file beginning with the letters abcd. If you search for abcd*.txt - the system will find only files beginning abcd and having the extension .txt


DOS command to copy multiple files?

Depends on which operating system you are using and whether you want to copy more than one file.In DOS/Windows command prompt "c:\copy xxxx /destination_folder/"if more than one file you can use "c:\copy xxx.* /destination_folder/"Xcopy has more options (verify, copy subdirectories ..) and is used "c:\xcopy xxx* /s /destination_folder/"In Unix/Linux/OSX cp is the command for copyingas in "#darkstar$cp -R *.txt /destination_folder/"cp has a lot more option than xcopy but you will need to type either "cp --help" or "man cp" to get the best of cp's actions.


List and describe four types of computer files?

The types of file formats found on computers ranges into the hundreds, if not thousands. Specific types of files such as documents, webpages, graphics and photos all have their own file formats with varying extensions depending on the program used to create, open or view each individual type of file. A few common file formats for documents are: .doc, .docx, .txt and .pdf. A few common file formats for graphics or photos are .jpeg, .gif, .png, .eps and .tiff.


Is .txt an open standard?

Yes, for .txt stands for text. Text = common = standard.

Related questions

In a command prompt what is the propose of a question mark in the file name?

It's a wildcard which means any single character. For instance: &gt; dir ???.txt This will list all 3-letter file names that have a .txt extension in the current folder. An asterisk can also be used as a wildcard and represents any group of characters. &gt; dir *.txt This will list all file names that have a .txt extension in the current folder.


Is there a simple way to combine multiple text files into 1 large text file in Windows?

Open a Command Prompt window, go to the folder where the files are (or you can use whole path names), and enter: COPY /A file1.txt + file2.txt + file3.txt + ... + lastfile.txt destination.txt /A


What Linux command is used to compare the difference between two file display the difference?

The command is: diff file1.txt file2.txt


What is the command to delete all files in the Adata folder that begin with the letter A and have the txt file extension?

DEL A:\data\ A*.txt


What is the command to delete all files in the A data folder that begin with the letter A and have the txt file extension?

Depends on the operating system...In Windows (with a command prompt open and the current directory is this data folder): del a*.txtThe del command is used to delete files and takes an argument containing the name of the file. Wildcards, such as * (denotes "any number of characters"), are used to take action on any items in the folder that meet the requirements. You can think of a*.txt as meaning "starts with an a followed by any number of characters, and ending with a period and the extension 'txt'."


What is the command that will delete all files with TXT extension in your current directory but will pause at each file and ask if you want to delete the file or leave it alone?

You can run this in a .bat file del "C:\Text Files\*.txt"


How to rename files name dos command?

ren c:\test.txt test2.txt Results: file in drive c:\ will be renamed to test2.txt


Which windows xp command sends a file named example txt to the default printer?

print example.txt


How do you convert a exe file to a txt file?

You can't convert an exe file to a txt file.


How can you run a file on startup using CMD?

Make a batch file. Open up notepad, type in the commands just like you would if you had a C:\prompt and choose "save as." When you save it, remove the .txt extension &amp; use .bat instead. Batch files can be executed just like an .exe, any commands in the batch file are put to a command prompt &amp; executed. So just put the batch file (or a shortcut to it) in programs/startup in your start menu &amp; youre done!


How do you copy files using ommand prompt?

Depends on which operating system you are using and whether you want to copy more than one file. In DOS/Windows command prompt "c:\copy xxxx /destination_folder/" if more than one file you can use "c:\copy xxx.* /destination_folder/" Xcopy has more options (verify, copy subdirectories ..) and is used "c:\xcopy xxx* /s /destination_folder/" In Unix/Linux/OSX cp is the command for copying as in "#darkstar$cp -R *.txt /destination_folder/" cp has a lot more option than xcopy but you will need to type either "cp --help" or "man cp" to get the best of cp's actions.


In Windows XP How do you create a text file?

To createa text file in Windows XP or any version of XP, open any word processor or text editor and create your file. Once you create your file, save it with the .TXT contention to save it as a text file.