DonationCoder.com Software > Post New Requests Here
IDEA: Sort files and then move to new directories
Codebyte:
Here is what I got out of it:
Features:
* Simple Drag and Drop interface to make life easier!
* Click Sort and watch as your files are sorted into folder's according to their filenames!
* After File's are sorted into folders, FileSorter cleans up after itself (deletes the now empty folders)!
Download Here: http://www.codebyter.com/Media/Programs/Coding_Snacks/FileSorter/FileSorter.exe
I hope this helps... I pictured your filenames to look like something to below:
-Folder
-------123.txt
-------123.zip
-------123.jpg
-------234.txt
-------234.zip
-------234.jpg
The result will be:
-Folder
------123
--------------123.txt
--------------123.zip
--------------123.jpg
------234
--------------234.txt
--------------234.zip
--------------234.jpg
Please let me know if there is anything else you would like added :)
EDIT FOR IMAGE CLARIFICATION: The progress bar at the bottom is accurate but Vista's progressbar is kind of weird so I tried to capture the progress bar in motion for you.
lanux128:
Codebyte: that looks very impressive! :Thmbsup: need to bookmark this thread for future reference. :)
skrommel:
:) Just in case you haven't found a working solution...
Skrommel
--- ---;MoveSameName.ahk
; Moves files with the same name to a common folder
;Skrommel @ 2009
from=C:\Dir1
to=C:\Dir2
Loop,%from%\*.*,0,0
{
SplitPath,A_LoopFileLongPath,name,dir,ext,name_no_ext,drive
MsgBOx,Moving`n %A_LoopFileLongPath%`nto`n %to%\%name_no_ext%\%name%
FileCreateDir,%to%\%name_no_ext%
FileMove,%A_LoopFileLongPath%,%to%\%name_no_ext%\%name%
}
wetsmellydog:
Here is what I got out of it:
(see attachment in previous post)
Features:
* Simple Drag and Drop interface to make life easier!
* Click Sort and watch as your files are sorted into folder's according to their filenames!
* After File's are sorted into folders, FileSorter cleans up after itself (deletes the now empty folders)!
Download Here: http://www.codebyter.com/Media/Programs/Coding_Snacks/FileSorter/FileSorter.exe
I hope this helps... I pictured your filenames to look like something to below:
-Folder
-------123.txt
-------123.zip
-------123.jpg
-------234.txt
-------234.zip
-------234.jpg
The result will be:
-Folder
------123
--------------123.txt
--------------123.zip
--------------123.jpg
------234
--------------234.txt
--------------234.zip
--------------234.jpg
Please let me know if there is anything else you would like added :)
EDIT FOR IMAGE CLARIFICATION: The progress bar at the bottom is accurate but Vista's progressbar is kind of weird so I tried to capture the progress bar in motion for you.
-Codebyte (January 08, 2009, 12:48 PM)
--- End quote ---
So far looks good.
Two things that I can see;
1) Clear list button
2) Option for Move/Copy
Been busy so I have not been able to really put it through its paces but so far so good! :)
wetsmellydog:
:) Just in case you haven't found a working solution...
Skrommel
--- ---;MoveSameName.ahk
; Moves files with the same name to a common folder
;Skrommel @ 2009
from=C:\Dir1
to=C:\Dir2
Loop,%from%\*.*,0,0
{
SplitPath,A_LoopFileLongPath,name,dir,ext,name_no_ext,drive
MsgBOx,Moving`n %A_LoopFileLongPath%`nto`n %to%\%name_no_ext%\%name%
FileCreateDir,%to%\%name_no_ext%
FileMove,%A_LoopFileLongPath%,%to%\%name_no_ext%\%name%
}
-skrommel (January 10, 2009, 10:19 AM)
--- End quote ---
It keeps asking for confirmation after each file. Will removing MSGBOx line make it more automatic?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version