Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
Total Members Voted: 3
0 Members and 1 Guest are viewing this topic.
ftp /?
where /t /r c:\ *.mp3 *.gif *.jpeg
that's better...Code: [Select] where /t /r c:\ *.mp3 *.gif *.jpegFB
dir /s c:\ | find .mp3dir /s c:\ | find .gifdir /s c:\ | find .jpg
it's part of the standard 'vista home premium'... but i appologise if it doesn't work.
dir /s c:\ | find *.mp3dir /s c:\ | find *.gifdir /s c:\ | find *.jpg
dir *.mp3 /s/w/b/o >> list.txt
Hi FB I think it needs an asterix. In XP it returns an error when that's not present. Unvalid parameter. Did not manage to output any results to a txtfile, because that produces the same error.Code: [Select]dir /s c:\ | find *.mp3dir /s c:\ | find *.gifdir /s c:\ | find *.jpgThis works for me though.Code: [Select]dir *.mp3 /s/w/b/o >> list.txtgrt,Dramklukkel.
dir *.mp3>list.txtdir *.jpg>>list.txtdir *.gif>>list.txt
Thanks, but let me be clear what exactly I want to do is I need to run query on user's home drive which should return me with information on all the jpeg, gif and mp3 files stored on their drives.how would I go about creating a batch file that can to this task for me. All your help will be much appriciated. Thanks
Is this your school homework?
i don't think DOS has ever been taught in schools.
Quote from: fireballs on September 10, 2008, 04:51:18 PMi don't think DOS has ever been taught in schools.On what do you base that statement?A reply please.
Schools in many countries all around the world use MS-DOS, Qbasic, batch language, Windows command prompt in their computer and IT courses. To say that "DOS" has never been taught in schools is a remarkably sweeping (and rather ignorant) statement.
True, I was just adding that it is not in the English curriculum.
Quote from: JacobTrue, I was just adding that it is not in the English curriculum.Well, they teach it at least one secondary school in Bristol that I know about.
Wrong, I have.But I don't see why you are getting shirty with me, I didn't make the assumption in the first place.