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

Author Topic: creating a batch file  (Read 2842 times)

0 Members and 1 Guest are viewing this topic.

graham18

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    creating a batch file
    « on: June 02, 2012, 07:17:33 PM »
    Hi
    I need to create a batch file but when cliicking start to i dont have run on my list. I  How do i create one as i am a beginner with computers. I am running windows 7

    Thanks
    Graham

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: creating a batch file
    « Reply #1 on: June 02, 2012, 08:40:56 PM »
    You don't need the run box to create a batch file. But if you want to launch cmd.exe just type it in the search box or type WinKey + R to bring up the run box. You can also edit the taskbar properties to show the run box when you click the start button.

    But for the most part I create all my batch files with good old Notepad. If you want syntax highlighting then use Notepad++. It is a free download.

    I know you are new here but if you look at the category description below this forum category you will notice that is says it is used for Windows cmd line and batch files.

    graham18

      Topic Starter


      Newbie

      • Experience: Beginner
      • OS: Unknown
      Re: creating a batch file
      « Reply #2 on: June 03, 2012, 04:25:43 AM »
      Hi thanks for your reply. What i am trying to do is delete some files from a game called Medieval Total War2 to stop it crashing, i can now open cmd.exe but cannot do it in the folder i am supposed to. Below is what i am trying to do, seems easy enough but being pretty useless with computer jargon and switching to an unfamiliar operating system i am struggling. Could you help me any further.

      Thanks
      Graham


      -  To use the modified files create a batch file in your
         Medieval II: Total War folder
         
      -  In the batch file add the following line
         
         medieval2.exe --io.file_first
         
      -  NOTE: Due to a timestamp check, the following unpacked files will
         cause the game to crash and must be deleted before the game is
         launched:

              data\descr_geography_new.txt
              data\descr_geography_new.db

      -  Save the batch file and then launch Medieval II: Total War using the
         newly created batch file.

      Pyro



        Starter

      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 7
      Re: creating a batch file
      « Reply #3 on: June 03, 2012, 05:23:17 AM »
      Download the file attached to this post and place it into your game folder.
      Since you mentioned, that you could not delete the files, try right-clicking them -> Properties and uncheck write-protected.
      Then delete the files and run "runGame.bat" by simply double-clicking on it.

      [year+ old attachment deleted by admin]

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      Re: creating a batch file
      « Reply #4 on: June 03, 2012, 08:38:57 AM »
      Sounds like you got instructions from someone else on the Internet. Why didn't you ask them how to interpret their instructions.