Library Blog

Kendriya Vidyalaya Port Trust, Kochi

Make a text file of all files in a folder

It is not often that one is faced with the task of creating a list of all the files in a folder. But when one does, it is usually with a sense of great urgency, especially if the number of files in the folder are on the heavier side of fifty, or even hundred. In such a situation, you may opt for a Print Screen, but that would be a very clumsy affair. Well, you could laboriously type the names of all the files. But that you don’t have to, if you have a computer. Just follow these steps.

1. Put your files in a folder with a simple name like “myfiles” or “thefiles” and copy the folder to c drive.
2. Open a command prompt, preferably as Admin (Start -> Run -> cmd Enter)
2. Navigate (cd) to the directory whose files you want to list. In this case, the “myfiles” folder in c drive.
3. Enter dir > output_file_name (e.g., dir > C:\dir.txt) and press Enter. The list of all the files in your folder will be saved as a text file called “dir.txt” in the c drive.

That’s all.

Filed under: Useful info, , , , , , , , , , ,

Blog Visitors

  • 182,914 visitors have viewed this blog

Categories of Posts

Think It Over

Did You Know?

Shampoo was invented in India, not the commercial liquid ones but the method by use of herbs. The word 'shampoo' itself has been derived from the Sanskrit word champu, which means to massage.

Disclaimer

This blog is not responsible for the content found on other websites/pages bookmarked here. At the time of bookmarking the content was found to be relevant and the webmaster is in no way responsible if the content was changed later, or if the website/page moved. Users are advised to ensure the authenticity of all materials downloaded from this site prior to use.

Library blog

This blog is maintained by Librarian, Kendriya Vidyalaya Port Trust, Kochi, who can be contacted at kvptlib [at] gmail dot com.

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 19 other followers

Photo Gallery

Celebrating Azadi 70 yaad karo kurbaani. View more photos here...

Commencement of Sanksrit Week celebration. View more photos here...

Independence Day celebration. View more photos here...

Social Science exhibition. View more photos here...

The student leaders posing with Dr.Uma Sivaraman, Hon'ble Deputy Commissioner, KVS Regional Office, Ernakulam and other dignitaries after the Investiture Ceremony. View more photos here...

Book Highlight



Told in diary form by an irresistible heroine, this playful and perceptive novel from the New York Times bestselling author of the May Bird trilogy sparkles with science, myth, magic, and the strange beauty of the everyday marvels we sometimes forget to notice.

Spirited, restless Gracie Lockwood has lived in Cliffden, Maine, her whole life. She’s a typical girl in an atypical world: one where sasquatches helped to win the Civil War, where dragons glide over Route 1 on their way south for the winter (sometimes burning down a T.J. Maxx or an Applebee’s along the way), where giants hide in caves near LA and mermaids hunt along the beaches, and where Dark Clouds come for people when they die.

To Gracie it’s all pretty ho-hum…until a Cloud comes looking for her little brother Sam, turning her small-town life upside down. Determined to protect Sam against all odds, her parents pack the family into a used Winnebago and set out on an epic search for a safe place that most people say doesn’t exist: The Extraordinary World. It’s rumored to lie at the ends of the earth, and no one has ever made it there and lived to tell the tale. To reach it, the Lockwoods will have to learn to believe in each other—and to trust that the world holds more possibilities than they’ve ever imagined.

Book info & cover courtesy: goodreads.com