DOS scripting for the warhammer.bat file?

Thread: DOS scripting for the warhammer.bat file?

  1. Drizla12 said:

    Default DOS scripting for the warhammer.bat file?

    Hi all,

    If I've installed CoW to: F:\Medieval II\mods\Call_of_warhammer

    How should the text be in the warhammer.bat, which the short cut links to?

    Thanks in advance.
     
  2. Marcus Tullius Cicero's Avatar

    Marcus Tullius Cicero said:

    Default Re: DOS scripting for the warhammer.bat file?

    Do you mean the target of the shortcut? If so it should be "F:\Medieval II\mods\Call_Of_Warhammer\Executable.bat"
     
  3. Drizla12 said:

    Default Re: DOS scripting for the warhammer.bat file?

    No, I mean: how I should edit the warhammer.bat so it targets the new directory.

    It's "born" with a C:\ target, And thats what I want to change
     
  4. Lord Baal's Avatar

    Lord Baal said:

    Default Re: DOS scripting for the warhammer.bat file?

    Change C for F and you should be good.
    PROUD TO BE A PESANT. And for the dimwitted, I know how to spell peasant. <== This blue things are links, you click them and magical things (like not ending up like a fool) happens.
    Visit my utterly wall of doom here.
    Do you wanna play SS 6.4 and take your time while at it? Play with my 12 turns per year here.
    Y también quieres jugar Stainless Steel 100% en español? Mira por aca.
     
  5. Drizla12 said:

    Default Re: DOS scripting for the warhammer.bat file?

    Ah, ofc! doh! Should have thought of that.

    Erm, could some1 please copy paste batch text, as I kinda, erm, forgot to take a back up before I began trying to edit it...

    /n00b off.
     
  6. Lord Baal's Avatar

    Lord Baal said:

    Default Re: DOS scripting for the warhammer.bat file?

    Code: [View]
    cd "..\.."
    start kingdoms.exe @mods\Call_of_Warhammer\warhammer.cfg
    That's about it. However I don't see why are you having problems with this. Maybe what you need to change is the route of the shortcut on the desktop, not the .bat since there's no mention of a logical unit there barring the cd "..\.."
    PROUD TO BE A PESANT. And for the dimwitted, I know how to spell peasant. <== This blue things are links, you click them and magical things (like not ending up like a fool) happens.
    Visit my utterly wall of doom here.
    Do you wanna play SS 6.4 and take your time while at it? Play with my 12 turns per year here.
    Y también quieres jugar Stainless Steel 100% en español? Mira por aca.
     
  7. Drizla12 said:

    Default Re: DOS scripting for the warhammer.bat file?

    Now it works! Awesome Thanks!

    I believe the problem was, that there was a C:\ before the: start kingsdoms etc. Thats what must have caused it.

    Thanks for great support Lord Baal!
     
  8. Drizla12 said:

    Default Re: DOS scripting for the warhammer.bat file?

    Ok, I can't run the batch file as Admin? If I try to run the game as Admin, batch file directs to a C:/ directory, where the mod isn't located.
    But when I just click at the batch file, the game starts without any problems. But it's stated everywhere, that the game should be run as admin?
     
  9. Drizla12 said:

    Default Re: DOS scripting for the warhammer.bat file?

    I've attached a pic of the problem, I hope that you can help.
     
  10. Drizla12 said:

    Default Re: DOS scripting for the warhammer.bat file?

    Sorry for the spam, seems I'm not quite used to the upload tools here.
     
  11. Lord Baal's Avatar

    Lord Baal said:

    Default Re: DOS scripting for the warhammer.bat file?

    Hey there! Now I know what you were talking at the pm!

    Now, the game shouldn't need to be run as admin. In either case is weird that it gives you this error.
    Last edited by Lord Baal; May 23, 2012 at 11:33 AM.
    PROUD TO BE A PESANT. And for the dimwitted, I know how to spell peasant. <== This blue things are links, you click them and magical things (like not ending up like a fool) happens.
    Visit my utterly wall of doom here.
    Do you wanna play SS 6.4 and take your time while at it? Play with my 12 turns per year here.
    Y también quieres jugar Stainless Steel 100% en español? Mira por aca.
     
  12. Gigantus's Avatar

    Gigantus said:

    Default Re: DOS scripting for the warhammer.bat file?

    The problem is in RED:

    cd "..\.."
    start kingdoms.exe @mods\Call_of_Warhammer\warhammer.cfg
    Remove those symbols from the line in your BAT file.
    And why do you have another CoW folder inside your CoW folder?