Description
Using low capacity SSD drives I found that i often wanted to move file from the main C: Drive to other hard drives, It can be a bit of hassle moving from one to another installing re installing, so moving files to the new folder and then creating a symbolic link in the registry is the best way to maintain all shortcuts while freeing up the space on the SSD.
- I wanted to create a small application that was easy for a User to use.
- It would allow them to drag and drop the file they wanted to move, then drag and drop the location they wanted click go! and it would be done for them, without the messing in the CMD line.
Learning Goals
Using Apache Commons FileUtils Check it out! for file movement makes JAVA file Manipulation alot easier
Accessing the CMD line from a Java application quickly allows to add functionality.
Understanding Drag and Drop feature of JAVA swing.
However I had difficulty getting this to work with UAC administrator rights , so moving files from C:\Program Files for example would not operate. This can be fixed by wrapping in an .exe with the likes of JSmooth (Not implemented)
Try it !
Languages Used:
JAVA , Windows CMD line
Leave a Reply