Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: commands for Batch file to enter strings  (Read 2090 times)

0 Members and 1 Guest are viewing this topic.

shadowcat

  • Guest
commands for Batch file to enter strings
« on: September 01, 2006, 01:42:09 AM »
HI Guys!!!

Can somebody please let me know the code or command that I need to use in order to write a batch file which can be used to edit a file in such a way that some word strings can be addded to the already existent file and the same gets saved.

Thanks

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: commands for Batch file to enter strings
« Reply #1 on: September 01, 2006, 06:21:14 AM »
You can append lines to an existing file: echo dataline >> filename

You  can launch an editor from a batch file: notepad and manually make changes

You can launch an editor from a script and script the edit actions. (need specific editor info)

 8-)
« Last Edit: September 01, 2006, 06:21:55 AM by Sidewinder »
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein