Search found 14 matches
- 13 Jan 2013 15:44
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Perfect... that does it nicely. Just so all is clear for future needs here is what i have for this cleanup / import to my document management software. Code1 - takes all of my subfolders under each client and moves it to a folder called "prior to efc" @echo off set "d=Prior to EFC&quo...
- 13 Jan 2013 13:07
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
sorry for the confusion... no, these scripts are working awesome. I am importing all of this data we are rearranging into a document management software. So when i copied everything we rearranged to the new system is when it took so long (because of the amount of quickbooks files that are copied in ...
- 13 Jan 2013 09:17
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Awesome... thanks. the first one didnt work. it moved the quickbooks folders into the prior to efc... BUT the second on "post move" worked great. One more and i think i'm good. It took me 46 hours to transfer all my data over because of these quickbooks files. so on this one i am thinking ...
- 13 Jan 2013 08:40
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
These have worked perfect. so i would like to do one more step. I am working on moving the "inactive clients" when we create the "Prior to EFC" folder some of my clients have no files in them so i would like to delete the Prior to EFC folder if it is empty. So i run the Prior to ...
- 09 Jan 2013 00:41
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
sorry... don't worry about that... it is only the &
it will do what i need it to...
THANKS...
If one wanted to 'donate' to you for your time on this would that be possible? you've saved me a ton of hassle and headache...
it will do what i need it to...
THANKS...

If one wanted to 'donate' to you for your time on this would that be possible? you've saved me a ton of hassle and headache...
- 09 Jan 2013 00:37
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
that seems to work as far as the fileout goes, but the results are odd? some of the folder names it compared didn't spit out right? and there is a ton of errors in the cmd window like: 'Rebecca' is not recognized as an internal or external command, operable program or batch file. 'Heather'.... 'Kris...
- 08 Jan 2013 22:17
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Thank you again.... i edited the code to just show the root folder of the client names: @echo off dir "d:\frank\clients" /b >"d:\clients file list - before.txt" @echo off dir "d:\frank\clients-inactive" /b >"d:\inactive client list - before.txt" So if i run th...
- 08 Jan 2013 13:49
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
okay this is great. those files should work. I will be running them on Wednesday night on the production servers (after a good backup). Another issue though i could use your help with??? Is there and easy script / code. do create a text file of the client folders? I don't care (at this point, might ...
- 06 Jan 2013 21:35
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Man, this is sweet... works great. One question though. In this wonderfully awesome code is there anyway to not create the Quickbooks folder if there are none of those extensions found in their Prior to EFC folder? If not, no biggie would just be cleaner in my folders. Here is my edited code. @echo ...
- 05 Jan 2013 13:16
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
More than likely they would not have the same names. QuickBooks though does store one "company file" with a few extensions. So like, ABC Company may be currently as follows: d:\frank1\clients\12345 ABC Company\2010\ABC Company.QBB d:\frank1\clients\12345 ABC Company\2010\ABC Company.QBW d:...
- 05 Jan 2013 09:49
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Thanks again for all the help. So g, is a network drive. The actual location will be d:\frank1\xxxx so on my test system here is what i ran @echo off set "d=Prior to EFC" pushd "d:\frank1\clients" for /f "delims=" %%z in ('dir /ad /b') do ( pushd "%%z" for /f ...
- 04 Jan 2013 22:29
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Okay, so upon further testing... If the client folder (namexxxx) doesn't have one or more subfolders (only has files, doc, xls, etc...) the script takes a random document in there and names it new folder (without an extension) (then it is an unknown file) it then skips the rest of the documents in t...
- 04 Jan 2013 21:43
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Re: Batch file to create a folder and move files to it
Man, you guys are awesome. So it worked (note to self, run it from the clients folder not on the root...) It thought that by looking at the code it was going to run itself in the right place regardless of where it was executed from. I had a little fixing and didn't work quite right because of that. ...
- 03 Jan 2013 23:01
- Forum: DOS Batch Forum
- Topic: Batch file to create a folder and move files to it
- Replies: 30
- Views: 24251
Batch file to create a folder and move files to it
Hi there i am in desperate need of some help. i have a main folder with around 3000 subfolders in it (131 GB) in each sub folders there will be any number of folders and files in them. i would like to condense all of the sub folders and files into one new sub folder. Example of what i have G:\client...