Search found 7 matches

by dubhubb
29 Jan 2010 14:01
Forum: DOS Batch Forum
Topic: Dir command Output into a Text file
Replies: 2
Views: 4197

Re: Dir command Output into a Text file

I think that did the trick.

Thanks so much! :mrgreen:
by dubhubb
29 Jan 2010 12:56
Forum: DOS Batch Forum
Topic: Dir command Output into a Text file
Replies: 2
Views: 4197

Dir command Output into a Text file

I'm having trouble getting files names to be outputted into a text file. As of now I can only get the directory names to be outputted and not the files within. Right now I have: FOR /D %%I IN ("\\server\data\jan-2010\*") DO dir /b "%%I" >> "%userprofile%\desktop\output.txt&q...
by dubhubb
14 Sep 2009 09:14
Forum: DOS Batch Forum
Topic: Is this possilbe?
Replies: 0
Views: 4561

Is this possilbe?

I need to move selected folders out a parent folder, but the folders names are always changing, but the first two letters of the folder will also be static. So for example in the parent folder I may have folders named: HF10986-100 HF10973-150 HX10873-120 I need to move the "HF" folders to ...
by dubhubb
14 Sep 2009 08:55
Forum: DOS Batch Forum
Topic: Copying all Files within directories to one directory
Replies: 2
Views: 4986

Thank you! I got it work with the syntax you suggested! :D
by dubhubb
10 Sep 2009 10:30
Forum: DOS Batch Forum
Topic: Copying all Files within directories to one directory
Replies: 2
Views: 4986

Copying all Files within directories to one directory

I need to be able to copy only the files out of several directories and place them into one directory. I have one directory and within that directory I have about 5 other directories. Within each of those 5 directories there are about 50 or so .tiff files. I need to copy only the .tiff files into a ...
by dubhubb
08 Sep 2009 07:52
Forum: DOS Batch Forum
Topic: Moving Folders within a Folder
Replies: 2
Views: 4644

I was actually able to get it work using:

FOR /D %%I IN (%userprofile%\desktop\output\*) DO move "%%I" %userprofile%\desktop\data
by dubhubb
04 Sep 2009 10:04
Forum: DOS Batch Forum
Topic: Moving Folders within a Folder
Replies: 2
Views: 4644

Moving Folders within a Folder

Well I'm fairly new to batch files and I can't seem to figure out how to move some folders. Basically have a folder called "Output" and within I have four other Folders. I need to move the folders within "Output" to a folder named data. Here is what I got: move %userprofile%\desk...