-3

So I need to edit an acf file, which contain

"Language" "English"

And I just need to change the language. How will I do that?

halfer
  • 19,824
  • 17
  • 99
  • 186
  • It looks like you need a simple or regular expression find and replace. So use one of the solutions posted on: [How can you find and replace text in a file using the Windows command-line environment?](http://stackoverflow.com/questions/60034/) – Mofi Jan 14 '17 at 16:58
  • Please always make an effort and show that effort prior to posting a question here. – halfer Jan 17 '17 at 19:38

1 Answers1

0

Your answer is in this thread.

Batch / Find And Edit Lines in TXT file

In short Batch or Commands in windows does not support editing a file programmatically, So, create a vb script like given in the linked post and if you have to execute a batch then add the command which runs the vbs file in a batch file and execute it.

Community
  • 1
  • 1
Avinash
  • 4,115
  • 2
  • 22
  • 41
  • I actually found it here but it can only write at the end of the text how can I edit a line with this code? http://stackoverflow.com/questions/23574631/edit-text-file-using-batch-file] `FINDSTR /I /V /B "sqlServer=" config.txt > config.new ECHO sqlServer=myMachine\sql2012 >> config.new DEL config.txt REN config.new config.txt` – Filipe Barros Jan 14 '17 at 06:21