Computing.Net > Forums > Disk Operating System > How to open text and exe in dos?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to open text and exe in dos?

Reply to Message Icon

Name: Zachery
Date: March 6, 2002 at 07:33:38 Pacific
Comment:

What is the command for opening a program?
Like and .exe or a .txt?
Also what is the command for the basic dos text editor?
Thanks- A newbie



Sponsored Link
Ads by Google

Response Number 1
Name: ...
Date: March 6, 2002 at 08:02:32 Pacific
Reply:

.EXE files cannot be edited by a Text Editoe as they are in machine code and best left alone unless you know what you are doing.

Later versions of MS-DOS have a Text editor called EDIT To open a file type:

EDIT filename.txt

(Change FILENAME.TXT to file that needs to be opened)


0

Response Number 2
Name: fred6008
Date: March 10, 2002 at 04:11:42 Pacific
Reply:

.exe files can also be .COM or even .BAT
files. They are files the computer runs. In each case you type the file name and press enter to run the file. Take EDIT.COM since it was mentioned. You type EDIT to run the .COM file. you also have to enter a filename to edit such as EDIT CONFIG.SYS for example. Or you might enter EDIT README.TXT to read a text file in the editor. However, if you type anything you will change the README file, so it is better to use a file reading command if you have such a utility.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: How to open text and exe in dos?

How to create a log file in 1 line www.computing.net/answers/dos/how-to-create-a-log-file-in-1-line/12735.html

How to USE DPMI and VCPI API's in DOS www.computing.net/answers/dos/how-to-use-dpmi-and-vcpi-apis-in-dos-/9545.html

how to ECHO an HTML tag in DOS? www.computing.net/answers/dos/how-to-echo-an-html-tag-in-dos/11720.html