Forum Moderators: phranque

Message Too Old, No Replies

dir *.jpg /b >filelist.txt

syntax question

         

skateboard

9:56 pm on Mar 18, 2005 (gmt 0)

10+ Year Member



Howdy folks,

This thread:
[webmasterworld.com...]
helped me load tons of file names into a database last year, for which I am/was most grateful. Today I went to do it again, and could not get it to work.

in "run" I type:
C:\foo\bar\imanidiot *.jpg /b >filelist.txt
there are single spaces between "t" of idiot and "*", between "g" of jpg and "/" and between "b" and ">".

but filelist.txt which used to appear in "Documents and Settings/ User" fails to appear anywyhere.

Suggestions? Anyone see my error?

Thanks,

K

skateboard

10:54 pm on Mar 18, 2005 (gmt 0)

10+ Year Member



To answer my own question:

not start/run but start/programs/accessories/command prompt

Then:dir C:\foo\bar\*.jpg /b >foobar.txt

plumsauce

11:52 pm on Mar 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the command prompt is your friend.

i have one open automagically as i login on every box i use.

never figured out why it's in the "accessories" menu, it should be under "necessities" :)

of course, i figure what the world needs is a gui-less NT.
remove the gui from NT and it would be perfect. some day, i'm going to try it again.

kwngian

3:18 am on Mar 19, 2005 (gmt 0)

10+ Year Member




Click Start, Run.

Type cmd

type cd C:\foo\bar\imanidiot

type dir *.jpg /b > filelist.txt