File edititing with .bat

Omni

Ultra Cool Member
Reaction score
37
Im starting to make mods for unreal tournament, and it would save me a hell
lot of time if i could edit an .ini file by using a .bat file.

The .bat file has to add a line of text somewhere in the .ini file.
The place in the .ini file is the same everytime
{so if you know how to copy X amount of chars thatd be great too}

so all i need is a .bat file that adds a line somewhere in an .ini

how do i do it?
 

Omni

Ultra Cool Member
Reaction score
37
seriously? you cant even copy paste parts of files with .bat files?

whatthefuckman.jpg


Edit:

yay, fixed.
i made 2 seperate files, file 1 being the first part of the original file
file 2 being the remaining part of it

copy file 1 + line to put in the middle + file 2 = original file with line added
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top