Jump to content

Search the Community

Showing results for tags 'batch file'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Welcome Aboard
  • Kerbal Space Program 1
    • KSP1 Discussion
    • KSP1 Suggestions & Development Discussion
    • KSP1 Challenges & Mission ideas
    • KSP1 The Spacecraft Exchange
    • KSP1 Mission Reports
    • KSP1 Gameplay and Technical Support
    • KSP1 Mods
    • KSP1 Expansions
  • Kerbal Space Program 2
    • KSP2 Dev Updates
    • KSP2 Discussion
    • KSP2 Suggestions and Development Discussion
    • Challenges & Mission Ideas
    • The KSP2 Spacecraft Exchange
    • Mission Reports
    • KSP2 Prelaunch Archive
  • Kerbal Space Program 2 Gameplay & Technical Support
    • KSP2 Gameplay Questions and Tutorials
    • KSP2 Technical Support (PC, unmodded installs)
    • KSP2 Technical Support (PC, modded installs)
  • Kerbal Space Program 2 Mods
    • KSP2 Mod Discussions
    • KSP2 Mod Releases
    • KSP2 Mod Development
  • Community
    • Science & Spaceflight
    • Kerbal Network
    • The Lounge
    • KSP Fan Works
  • International
    • International

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Twitter


About me


Location


Interests

Found 1 result

  1. Hi everybody! I wrote a simple Windows shell script that makes a new vanilla installation of KSP by making hardlinks to an existing KSP directory. This allows you to have multiple installations without actually having to install it multiple times. I use this to have multiple sets of mods without actually installing KSP multiple times. It works well for me. It is designed to be run from the command line. Due to its use of mklink, it needs administrator privileges. Here is the code for it (spoiler-ed because it is kind of long): To use this script: Copy the code in the spoiler above. Paste into a text editor, like Notepad. Save the file with whatever name you want, wherever you want. Select "all file types" and change the part that says ".txt" to ".bat" Open an administrator command prompt. Navigate to where you saved the file using "cd" Type the name of the file. Then, type the location of the KSP installation you are copying (i.e. "C:\Kerbal Space Program"). If this contains spaces, it must be in quotes. Finish the command with the folder of the new KSP installation. Type /? after the name of the file for help. You should now have a second KSP installation, that has no mods. Feel free to modify and distribute this code as you see fit. I'm not super experienced with batch files (I mostly use Python), so any input is appreciated!
×
×
  • Create New...