Copy only titles of a list of files

May 22, 2011 at 19:29:53
Specs: Windows 7
Hello,

I had an critical work to acomplesh my regular task,..

i have a folder by name "daily" and having list of 10 images,.. like

abc.jpg
def.jpg
mno.jpg

normally i need to report the titles of files in a list, requesting you to advise to create a bat program to copy only titles of all .jpg files in to text or excel file???

thanks in advance.

Pushpa,...


See More: Copy only titles of a list of files

Report •

#1
May 22, 2011 at 19:57:18
I'm not sure about windows 7 but in dos (since you're here) it'd be something like:

dir *.jpg>name.txt

That's working within the folder. From another folder/directory it'd be:

dir c:\daily\*.jpg>name.txt

That'll put all the file names with a jpg extension in a txt file called name.txt.

Ding dong the witch is dead. . . .


Report •

#2
May 23, 2011 at 01:11:55
DIAMOND DAVE,

which witch?


=====================================
Life is too important to be taken seriously.

M2


Report •

#3
May 23, 2011 at 20:13:52
Which old witch?

The wicked witch!

The osama one. Although it makes a much better story that he was taken alive and his death and quick burial at sea was just a ruse so they wouldn't have to produce a body and therefore could interrogate him without any outside interference.

Gotta love a good conspiracy!

Ding dong the witch is dead. . . .


Report •

Related Solutions

#4
May 24, 2011 at 07:19:29
Thanks dude,.. i'll try in win7....

Report •

Ask Question