Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 23rd, 2005, 12:53 PM   #1
chepfaust
Programmer
 
chepfaust's Avatar
 
Join Date: Feb 2005
Posts: 62
Rep Power: 4 chepfaust is on a distinguished road
looking for a program/utility...

...that will take all the files from a directory and all subdirectories and move them to a specified parent directory.

i -could- do this in winzip but it takes forever to add to zip, then have to unextract.

any ideas? i tried doing something like this in VB but couldn't figure out how to read an infinitely variable number of subdirectories and manipulate them
chepfaust is offline   Reply With Quote
Old Mar 23rd, 2005, 12:55 PM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
a batch file would probably do it.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Mar 23rd, 2005, 9:44 PM   #3
chepfaust
Programmer
 
chepfaust's Avatar
 
Join Date: Feb 2005
Posts: 62
Rep Power: 4 chepfaust is on a distinguished road
i'm sure it could, but i'm still in the dark as to how i'm going to deal with an infinitely variable number of subdirectory below subdirectory. if i did know, i would have made it in VB already
i could whip up something real easy if i were just moving files from one single subdirectory to a different parent directory, but that's not what i need
chepfaust is offline   Reply With Quote
Old Mar 27th, 2005, 2:25 PM   #4
chepfaust
Programmer
 
chepfaust's Avatar
 
Join Date: Feb 2005
Posts: 62
Rep Power: 4 chepfaust is on a distinguished road
heh well i figured out another way to do it; move the director(ies) to the recycle bin and then cut/paste them from the bin to the destination. it's more risky than the winzip method because if the recycle bin isn't large enough to hold the contents of the director(ies), stuff will automatically get deleted without the user knowing...
chepfaust is offline   Reply With Quote
Old Mar 27th, 2005, 5:40 PM   #5
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
try xcopy in windows.... lol....
tempest is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:23 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC