Sweet home of Wituz
Stay in touch
  • Home
  • Tutorials
    • GameMaker >
      • Beginner >
        • Create a maze game with levels
        • Create a very simple hit-the-ball game
        • Load/save your game
        • Physics in GameMaker!
      • Intermediate >
        • Create a tower defense game!
        • Split-screen Multiplayer - GameMaker:Studio Tutorial
        • Save and Load Objects using INI files - GameMaker:Studio Tutorial
        • Smooth Camera in GameMaker Using Views
        • Multitouch on devices
    • Unity >
      • Beginner >
        • Create a marble roller game in Unity
        • Make a burning meteor using particle systems in Unity 5
      • Intermediate >
        • Using Character Controllers in Platform Games (Unity 5)
    • Miscellaneous >
      • Make your own "Twitch-Plays" stream
      • Generate a normal map from just one texture
      • Sort your messy folders
      • Modelling a planet in Blender
    • Video tutorials >
      • Make Playstation 1 games
  • Blog
  • Creations
    • Games
    • Apps
  • Contact

Messy folders? Do this !

I'm here to guide you through the tutorial of create a batch file that will clean and sort any folder. 
Start off by creating a new text file. Open it up. 
To be able to sort the files, we need to create the folders we need to sort them in. To create a folder, we use this simple code:
Picture
This will create a folder in the folder at the location where the batch file is running named Foldername. Use some time to personalize this. This is my setup:
Picture
So now we have createed the folders. The next step is to sort the file extensions into a folder. You do that by using the code below. This will move all .zip, .rar, .7z and .iso files to the Achieves folder. 
Picture
To finish up, this is my final, personalized code:
Picture
Personalize your batch file so it fits you - this will give you the most benefits out of it. 
Remember to save your file with .bat extension, or else you will not be able to execute the file.

Picture
Run your batch, magic will happen !

Now
2018-04-17


I'm back!
http://www.wituz.com/blog/im-back​
  • Home
  • Tutorials
    • GameMaker >
      • Beginner >
        • Create a maze game with levels
        • Create a very simple hit-the-ball game
        • Load/save your game
        • Physics in GameMaker!
      • Intermediate >
        • Create a tower defense game!
        • Split-screen Multiplayer - GameMaker:Studio Tutorial
        • Save and Load Objects using INI files - GameMaker:Studio Tutorial
        • Smooth Camera in GameMaker Using Views
        • Multitouch on devices
    • Unity >
      • Beginner >
        • Create a marble roller game in Unity
        • Make a burning meteor using particle systems in Unity 5
      • Intermediate >
        • Using Character Controllers in Platform Games (Unity 5)
    • Miscellaneous >
      • Make your own "Twitch-Plays" stream
      • Generate a normal map from just one texture
      • Sort your messy folders
      • Modelling a planet in Blender
    • Video tutorials >
      • Make Playstation 1 games
  • Blog
  • Creations
    • Games
    • Apps
  • Contact