KnockOnWood Posted June 11, 2001 Share Posted June 11, 2001 This is probably a stupid question but is it difficult to write batchfiles for mods? How is it done, c++, VB? Is there any sourcecode available or any tutorial or something? I would be happy for any answers you can come up with. Take Care! Link to comment Share on other sites More sharing options...
Pak40 Posted June 11, 2001 Share Posted June 11, 2001 <BLOCKQUOTE>quote:</font><HR>Originally posted by KnockOnWood: This is probably a stupid question but is it difficult to write batchfiles for mods? How is it done, c++, VB? Is there any sourcecode available or any tutorial or something? I would be happy for any answers you can come up with. Take Care!<HR></BLOCKQUOTE> It's a text file. You can make one in notepad. Just give it the .bat extension. It uses the old DOS command line so you'll have to dig up an old DOS manual. You're better off opening a batch file that someone else has already done and learn from that. Link to comment Share on other sites More sharing options...
KnockOnWood Posted June 11, 2001 Author Share Posted June 11, 2001 Thanks alot Pak40, didnt know it was that easy, now im going to dig in on it and see what i can learn. Link to comment Share on other sites More sharing options...
SenorBeef Posted June 11, 2001 Share Posted June 11, 2001 <BLOCKQUOTE>quote:</font><HR>Originally posted by KnockOnWood: This is probably a stupid question but is it difficult to write batchfiles for mods? How is it done, c++, VB? Is there any sourcecode available or any tutorial or something? I would be happy for any answers you can come up with. Take Care!<HR></BLOCKQUOTE> Batch files are precisely text files with a list of DOS commands. For example, a bat file might look like: cd\mydir ren myfile.txt myfile.tmp ren myfile.old myfile.txt ren myfile.tmp myfile.old Something simple like that would automatically 'switch' 2 files that you want to have the same name. Its the same as manually typing the commands in DOS, its just automatic. Link to comment Share on other sites More sharing options...
KnockOnWood Posted June 11, 2001 Author Share Posted June 11, 2001 Thanks SenorBeef, That was helpful, ill try fiddeling with it a little and see what i can make out of it Link to comment Share on other sites More sharing options...
Recommended Posts