Results 1 to 4 of 4

Thread: Help with .bat file

  1. #1
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Help with .bat file

    For v2.0 of my LTC mod im trying to make a .bat file that is run during installation which will copy across the files needed for the spy and assassin movies from data\fmv to landstocnquer\data\fmv.

    Here is what i have in the .bat file:

    xcopy data\fmv\assassinate landstoconquer\data\fmv\assassinate /k /r /e /y
    xcopy data\fmv\sabotage landstoconquer\data\fmv\sabotage /k /r /e /y
    xcopy data\fmv\infiltrate landstoconquer\data\fmv\infiltrate /k /r /e /y

    Now i want this to run automatically, but it always asks me whether the destination is a file or directory first, even if i have the folder structure all set up before hand. Is there anyway to set it in the .bat so it knows it is a directory so it will automatically run.

  2. #2
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: Help with .bat file

    Anyone?

  3. #3
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Help with .bat file

    Try using /I

  4. #4
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: Help with .bat file

    Brilliant! It works!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO