Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Looking For A Specific Solution - Two Larger Directories Into One

21 May 2012   #1

 
 
Looking For A Specific Solution - Two Larger Directories Into One

I need a solution that can take two given directories, take random files from each and create a new, smaller directory.

For example Directory "Photos 2011" has 500 pictures in it and "Photos 2012" has 200 pictures.

I would like the program to randomly choose files from each directory and create a directory of those random files into another directory.

To say the least, googling for this is unwieldy. So I'm hoping someone may have needed this solution before and used a particular tool they can recommend.

My System SpecsSystem Spec
.

22 May 2012   #2

W7 Pro SP1 64bit
 
 

This can probably be done via a batch file and there are some forum members that could throw something together for you - maybe they will stop by your thread and help you out. In the mean time, you might want to start learning a scripting language (like AutoIt3 or AutoHotKey) so you can cobble some together some code of your own for this task.
My System SpecsSystem Spec
22 May 2012   #3

 
 

Sounds perfect. I love trying to write up something...always finding ways to make my admin life easier. If it can be done with a .bat I could probably figure it out.

Thanks!
My System SpecsSystem Spec
.


22 May 2012   #4

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Why copy some random files from 2 folders to new folder? Costs a lot of I/O and diskspace.
What do you want to accomplish with that?
My System SpecsSystem Spec
22 May 2012   #5

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Norwood View Post
...If it can be done with a .bat I could probably figure it out....
The 3rd post here shows the use of random.
:-)
My System SpecsSystem Spec
22 May 2012   #6

x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Random slideshow perhaps? There must be an easier / more efficient way.

Peace!
My System SpecsSystem Spec
22 May 2012   #7

 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
Why copy some random files from 2 folders to new folder?
Why not?

Random Example:

Directory A has REM's discography. About 300,000,000,000 songs.
Directory B has Grateful Dead's discography. Nearly 400,000,000,000 songs.

Instead of picking files individually, pressing Ctrl C, navigating to Directory C and pressing Ctrl V (or even dragging and dropping) it would be much easier to automate it.

Did you have a solution, or did you just want to know what I was doing?
My System SpecsSystem Spec
22 May 2012   #8

 

Knowing what you are trying to do can help people figure out alternative solutions if necessary.

In your example (song playlist?), it would be far more efficient for a media player to do this (select files randomly) rather than have the underlying file system copy files at random.
My System SpecsSystem Spec
23 May 2012   #9

 
 

If artist A has 400 songs and artist B has 11...I don't want those two mixed together.

Not an even mix...or in the industry "enough artist separation".

A script can handle it fine.
My System SpecsSystem Spec
28 May 2012   #10

x64 (6.1.7601) Win7_SP1 HomePrem
 
 

@Norwood - I don't know of any software or script that does what you want. It sounds as though you're looking for a custom program or script to do random selection based on certain criteria (number of songs in a directory).

You might find something on Source Forge.net or Download.com, you'll have to look around though because you want specific functionality.

Good luck.
My System SpecsSystem Spec
Reply

 Looking For A Specific Solution - Two Larger Directories Into One





Thread Tools



Similar help and support threads for2: Looking For A Specific Solution - Two Larger Directories Into One
Thread Forum
Solved Specific desktop icons for specific users General Discussion
Looking for specific software solution - Interior decoration Software
root directories General Discussion
Specific Security Solution For Me System Security
Directories renamed General Discussion
Merging directories in Win 7 General Discussion
[WS4]Adding an directories group to default directories Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:35 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33