Thread: Challange #1
View Single Post
Old 05-09-2003, 04:14 PM   #8 (permalink)
charliex
Junkie
 
Location: North Hollywood
if you want to use the dir D:\*.* /s deally and ignore certain extensions do this..

go here-> http://www.jpsoft.com
download and install 4nt
run 4nt

do the following

--- cut here
d:
except (*.txt,*.vss,*.ncb) dir *.* /s >&C:\foo.txt
--- end here

its pretty self explanatory, the *.whatever in the () are the ones to ignore


if you want to add it to an existing file do >>&c:\foo.txt
(two > instead of one )

the & means *all* output, including any errors.
charliex is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62