Sometimes, Minecraft cannot run in it's default directory %appdata%.
This Instructable will show you how to run Minecraft on your flash disk or in a separate directory.
Let's get started!
Step 1: Copy the Minecraft Launcher to Your USB
Copy the Minecraft Launcher executable to your flash disk or Minecraft will not work.
You can download the Minecraft Launcher from https://minecraft.net/download.
Step 2: Create & Write the Launch Script
First, hold left shift and then right click. Click "Open Command Window Here".
Then, type the following command: "copy nul launch.bat"
Now, open the script and write the following code:
title Minecraft Launcher
if not exists minecraftdata mkdir minecraftdata
When you are done, launch the script!