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

How to edit a .bat file or text file??

Reply to Message Icon

Original Message
Name: Dimitris Krallis
Date: July 31, 2002 at 09:01:17 Pacific
Subject: How to edit a .bat file or text file??
Comment:

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

Thanks
Jim-Greece


Report Offensive Message For Removal

Response Number 1
Name: Berdon Magnus
Date: July 31, 2002 at 10:09:55 Pacific
Subject: How to edit a .bat file or text file??
Reply: (edit)

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).


Report Offensive Follow Up For Removal

Response Number 2
Name: pittiu
Date: July 31, 2002 at 21:58:44 Pacific
Subject: How to edit a .bat file or text file??
Reply: (edit)

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.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: How to edit a .bat file or text file??

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software