Search found 3 matches

by kindly_confused
14 Mar 2019 20:03
Forum: DOS Batch Forum
Topic: Syntax Problem - moving files in subdirs with white space in filename
Replies: 5
Views: 4584

Re: Syntax Problem - moving files in subdirs with white space in filename

Problem, I celebrated too soon. I wasn't clear enough - I need to scan sub-folders. For loops are giving me a headache - already took two Tylenols this afternoon As I stated: This command works to list the specific files in question - IT SCANS SUB-FOLDERS: [SCANNING SUB-FOLDERS WORKS!] dir /s E:\pho...
by kindly_confused
14 Mar 2019 17:25
Forum: DOS Batch Forum
Topic: Syntax Problem - moving files in subdirs with white space in filename
Replies: 5
Views: 4584

Re: Syntax Problem - moving files in subdirs with white space in filename

Thanks Steffen

Second option works.

First option has a syntax problem - I had issues myself dealing with delim...

Any other suggestions for using a for loop?

I have implemented the move command in my batch file - works very well.
by kindly_confused
14 Mar 2019 13:37
Forum: DOS Batch Forum
Topic: Syntax Problem - moving files in subdirs with white space in filename
Replies: 5
Views: 4584

Syntax Problem - moving files in subdirs with white space in filename

Hi, I want to sort my .jpg files by time of day - I found that the filename contains the hour of the day at which it was taken - time corresponds to a digit preceded by a white space - only white space in the filename. This command works to list the specific files in question: dir /s E:\photos\"* 19...