Copy all Filenames in a Directory to a Text File

This works great if you want to save all the filenames in a directory to a text file.

And Guys You can simply create a list of your Movies folder or Songs folder and Subfolders with this simple command in DOS. Here do like this.

  1. Open up your command prompt by typing cmd in the run dialog box and hitting Enter.
  2. Navigate to the directory which has the files and type the following command -
    DIR /B /O:N > filename.txt

    This will save all the filenames in the current directory to a text file. The text file will be saved in the same directory.

  3. To save file names from any sub-directories in the current folder, just add /S like -
    DIR /B /O:N /S > filename.txt

Here is the example how you how it looks in DOS prompt Window:

DOS Command Print screen

ENJOY!!! :-)

Ten Principles for Total Peace of Mind

Ten Principles for Total Peace of Mind:

1. Do Not Interfere In Others’ Business Unless Asked.

Most of us create our own problems by interfering too often in others’ affairs. We do so because somehow we have convinced ourselves that our way is the best way, our logic is the perfect logic and those who do not conform to our thinking must be criticized and steered to the right  direction, our direction. This thinking denies the existence of individuality and consequently the existence of God.. God has created each one of us in a unique way. No two human beings can think or act in exactly the same way. All men or women act the way they do because God within them prompts them that way. Mind your own business and you will keep your peace.

2. Forgive And Forget.

This is the most powerful aid to peace of mind. We often develop ill feelings inside our heart for the person who insults us or harms us. We nurture grievances. This in turn results in loss of sleep, development of stomach ulcers, and high blood pressure. This insult or injury was done once, but nourishing of grievance goes on forever by constantly remembering it. Get over this bad habit. Life is too short to waste in such trifles. Forgive, Forget, and march on. Love flourishes in giving and forgiving.

3. Do Not Crave For Recognition.

This world is full of selfish people. They seldom praise anybody without selfish motives. They may praise you today because you are in power, but no sooner than you are powerless, they will forget your achievement and will start finding faults in you. Why do you wish to kill yourself in striving for their recognition? Their recognition is not worth the aggravation. Do your duties ethically and sincerely.

4. Do Not Be Jealous.

We all have experienced how jealousy can disturb our peace of mind. You know that you work harder than your colleagues in the office, but sometimes they get promotions; you do not. You started a business several years ago, but you are not as successful as your neighbor whose business is only one year old. There are several examples like these in everyday life. Should you be jealous? No. Remember everybody’s life is shaped by his/her destiny, which has now become his/her reality. If you are destined to be rich, nothing in the world can stop you. If you are not so destined, no one can help you either. Nothing will be gained by blaming others for your misfortune. Jealousy will not get you anywhere; it will only take away your peace of mind.

5. Change Yourself According To The Environment.

If you try to change the environment single-handedly, the chances are you will fail. Instead, change yourself to suit your environment. As you do this, even the environment, which has been unfriendly to you, will mysteriously change and seem congenial and harmonious.

6. Endure What Cannot Be Cured.

This is the best way to turn a disadvantage into an advantage. Every day we face numerous inconveniences, ailments, irritations, and accidents that are beyond our control. If we cannot control them or change them, we must learn to put up with these things. We must learn to endure them cheerfully. Believe in yourself and you will gain in terms of patience, inner strength and will power.

7. Do Not Bite Off More Than You Can Chew.

This maxim needs to be remembered constantly. We often tend to take more responsibilities than we are capable of carrying out. This is done to satisfy our ego. Know your limitations.. Why take on additional loads that may create more worries? You cannot gain peace of mind by expanding your external activities. Reduce your material engagements and spend time in prayer, introspection and meditation. This will reduce those thoughts in your mind that make you restless. Uncluttered mind will produce greater peace of mind.

8. Meditate Regularly.

Meditation calms the mind and gets rid of disturbing thoughts. This is the highest state of peace of mind. Try and experience it yourself. If you meditate earnestly for half an hour everyday, your mind will tend to become peaceful during the remaining twenty-three and half-hours. Your mind will not be easily disturbed as it was before. You would benefit by gradually increasing the period of daily meditation. You may think that this will interfere with your daily work. On the contrary, this will increase your efficiency and you will be able to produce better results in less time.

9. Never Leave The Mind Vacant.

An empty mind is the devil’s workshop. All evil actions start in the vacant mind. Keep your mind occupied in something positive, something worthwhile. Actively follow a hobby. Do something that holds your interest. You must decide what you value more: money or peace of mind. Your hobby, like social work or religious work, may not always earn you more money, but you will have a sense of fulfillment and achievement. Even when you are resting physically, occupy yourself in healthy reading or mental chanting of God’s name.

10. Do Not Procrastinate And Never Regret.

Do not waste time in protracted wondering ” Should I or shouldn’t I?” Days, weeks, months, and years may be wasted in that futile mental debating. You can never plan enough because you can never anticipate all future happenings. Value your time and do the things that need to be done. It does not matter if you fail the first time. You can learn from your mistakes and succeed the next time. Sitting back and worrying will lead to nothing. Learn from your mistakes, but do not brood over the past. DO NOT REGRET. Whatever happened was destined to happen only that way. Why cry over spilt milk?

Proud to be an Indian

Be proud to be an Indian………..
FACTS TO MAKE EVERY Indian PROUD

Q. Who is the GM of Hewlett Packard (hp) ?
A. Rajiv Gupta

Q. Who is the creator of Pentium chip (needs no introduction as 90% of the today’s computersrun on it)?
A. Vinod Dahm

Q. Who is the third richest man on the world?
A. According to the latest report on Fortune Magazine, it is AzimPremji, who is the CEO of Wipro Industries. The Sultan of Brunei is at6 th position now.

Q. Who is the founder and creator of Hotmail (Hotmail is world’s No.1web based email program)?
A. Sabeer Bhatia

Q. Who is the president of AT & T-Bell Labs (AT & T-Bell Labs is thecreator of program languages such as C, C++, Unix to name a few)?
A. Arun Netravalli

Q. Who is the new MTD (Microsoft Testing Director) of Windows 2000,responsible to iron out all initial problems?
A. Sanjay Tejwrika

Q. Who are the Chief Executives of CitiBank, Mckensey & Stanchart?
A. Victor Menezes, Rajat Gupta, and Rana Talwar.

Q. We Indians are the wealthiest among all ethnic groups in America,even faring better than the whites and the natives.

A. There are 3.22 millions of Indians in USA (1.5% of population). YET,
38% of doctors in USA are Indians.
12% scientists in USA are Indians.
36% of NASA scientists are Indians.
34% of Microsoft employees are Indians.
28% of IBM employees are Indians.
17% of INTEL scientists are Indians.
13% of XEROX employees are! Indians.

Some of the following facts may be known to you. These facts were recently published in a German magazine, which deals with

WORLDHISTORY FACTS ABOUT INDIA.

1. India never invaded any country in her last 1000 years of history.

2. India invented the Number system. Zero was invented by Aryabhatta.

3. The world’s first University was established in Takshila in 700BC.More than 10,500 students from all over the world studied more than 60subjects. The University of Nalanda built in the 4 th century BC wasone of the greatest achievements of ancient India in the field ofeducation.

4. According to the Forbes magazine, Sanskrit is the most suitablelanguage for computer software.

5. Ayurveda is the earliest school of medicine known to humans.

6. Although western media portray modern images of India as povertystriken and underdeveloped through political corruption, India wasonce the richest empire on earth.

7. The art of navigation was born in the river Sindh 5000 years ago.The very word ‘Navigation’ is derived from the Sanskrit word NAVGATIH.

8. The value of pi was first calculated by Budhayana, and he explainedthe concept of what is now k! nown as the Pythagorean Theorem. British scholars have last year (1999) officially published thatBudhayan’s works dates to the 6 th Century which is long before theEuropean mathematicians.

9. Algebra, trigonometry and calculus came from India . Quadraticequations were by Sridharacharya in the 11 th Century; the largestnumbers the Greeks and the Romans used were 106 whereas Indians usednumbers as big as 10 53.

10. According to the Gemmological Institute of America, up until 1896,India was the only source of diamonds to the world.

11. USA based IEEE has proved what has been a century-old suspicionamongst academics that the pioneer of wireless communication wasProfessor Jagdeesh Bose and not Marconi.

12. The earliest reservoir and dam for irrigation was built in Saurashtra.

13. Chess was invented in India .

14. Sushruta is the father of surgery. 2600 years ago he and healthscientists of his time conducted surgeries like cesareans, cataract, fractures andurinary stones. Usage of anaesthesia was well known in ancient India .

15. When many cultures in the world were only nomadic forest dwellersover 5000 years ago, Indians established Harappan culture in SindhuValley ( Indus Valley Civilisation )

16. The place value system, the decimal system was developed in Indiain 100 BC.

Quotes about India

We owe a lot to the Indians, who taught us how to count, without whichno worthwhile scientific discovery could have been made.Albert Einstein.

India is the cradle of the human race, the birthplace of human speech,the mother of history, the grandmother of legend and the great grandmother of tradition.Mark Twain.

If there is one place on the face of earth where all dreams of livingmen have found a home from the very earliest days when man began thedream of existence, it is India .French scholar Romain Rolland.

India conquered and dominated China culturally for 20 centurieswithout ever having to send a single soldier across her border.Hu Shih(former Chinese ambassador to USA )

ALL OF THE ABOVE IS JUST THE TIP OF THE ICEBERG, THE LIST COULD BE ENDLESS.BUT, if we don’t see even a glimpse of that great India in the Indiathat we see today, it clearly means that we are not working up to ourpotential; and that if we do, we could once again be an evershiningand inspiring country setting a bright path for rest of the world tofollow.I hope you enjoyed it and work towards the welfare of INDIA .

Say proudly,

I AM AN INDIAN.

Follow

Get every new post delivered to your Inbox.