Computing.Net > Forums > Programming > How to edit a .bat file or text file??

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 edit a .bat file or text file??

Reply to Message Icon

Name: Dimitris Krallis
Date: July 31, 2002 at 09:01:17 Pacific
Comment:

Hi.
How can i create a text file or .bat file..
and how can i edit these files?

Thanks
Jim-Greece



Sponsored Link
Ads by Google

Response Number 1
Name: Berdon Magnus
Date: July 31, 2002 at 10:09:55 Pacific
Reply:

Well, first of all we need more details to help you out. If you want to just edit them in dos, then type edit filename.bat or edit filename.txt.
If you want to create a program and create and edit files, then we need to know what programming language you are using.
For qbasic, look up the command open, for c++ and you are using the stdio library lookup the command fopen, if you are using the iostream library lookup ofstream(it is a library, or class).


0

Response Number 2
Name: pittiu
Date: July 31, 2002 at 21:58:44 Pacific
Reply:

Hi Dimitris or Jim from Greece,

If you go to "Start" -> Run and enter
notepad
You'll get a test editor in windows

Type whatever you need and save it as whatever you want (i.e. my.bat)

You can also use it to edit an existing file.


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 Programming Forum Home


Sponsored links

Ads by Google


Results for: How to edit a .bat file or text file??

how to creat a bat file which RAM www.computing.net/answers/programming/how-to-creat-a-bat-file-which-ram/17192.html

How to convert a CAD file to .net www.computing.net/answers/programming/how-to-convert-a-cad-file-to-net/15097.html

How to make a batch file type text www.computing.net/answers/programming/how-to-make-a-batch-file-type-text-/11493.html