Showing posts with label Tricks. Show all posts
Showing posts with label Tricks. Show all posts

Monday, April 8, 2013

Generate File List - Windows

I am not sure whether any tools available for the below requirement.But it will help u sure!


Requirement:

Just tell me how you copy the file name?

I hope most of use doing "F2" and copy Or "right click" then rename->copy.

If the number of folder or file is in single digit, then Its fine. If we have some 100's of folders and files means?

So,Sometimes we thought that we should get the list of these files and folder names in a excel or text file by simple one click.

Yes.It's a possible.Just follow the steps as given!

Code: (save this as "test.bat")

@echo off

dir /on /b >list1.xls            /*This code helps you to get name list of folders and files*/

dir /on /b /s >list2.xls    /*This code helps you to get the whole files and folder list with details*/

dir /ad >list3.txt        /*This code helps you to get only the folder list*/

END


Execution:
  • Just place this "test.bat" file to the root folder where we needs to prepare list.
  • You can run this by double click.
  • The results will be stored in same root path. Here the result files are "list1.xls,list2.xls,list3.txt".
Try yourself and put your suggestions or questions in the comments!

- Er.Rajkumar PP



How to download Images from Websites?

Many of the computer user have trouble to download images from Facebook and other sites.

We have two ways for resolve this. (It works on Firefox and IE as well )

1."Right Click"
This will works for most of the sites.(This supports to download Audio,Video files also from some sites)

"Right Click" on Image and choose "Save Image As" and choose download location.






2.Drag method

This is like childish technique :) Yes. If we need a image, then just click and drag it to new tab.

The cursor Icon will change as given below.Then just release mouse click.That's all.



 


- Er.Rajkumar PP

Thursday, November 17, 2011

6 beautiful HR Questions


Here are some of the typical HR questions asked to find out if the candidates have "out of box" thinking capability.


Question 1:

"What will you do if I run away with your sister?"

The candidate who was selected answered " I will not get a better match for my sister than you, sir."

Question 2:

Interviewer (to a student girl candidate) - What if one morning you woke up & found that you were pregnant?

I will be very excited and take a day off, to celebrate with my husband. (Normally an unmarried girl will be shocked to hear this, but she managed it well. Why I should think it in the wrong way, she said later when asked.)

Question 3:

Interviewer: He ordered a cup of coffee for the candidate. Coffee arrived and was kept before the candidate, and then he asked "What is before you?"

Candidate: Instantly replied "Tea" and got selected.

(You know how and why did he say "TEA" when he knows very well that coffee was kept before him?
Answer: The question was "What is before you U? (-alphabet). Reply was "TEA" T (- alphabet).

Question 5:

You are driving along in your car on a wild, stormy night, it's raining heavily, when suddenly you pass by a bus stop, and you see three people waiting for a bus:

An old lady who looks as if she is about to die.
An old friend who once saved your life.
The perfect partner you have been dreaming about.

Which one would you choose to offer a ride to, knowing very well that there could only be one passenger in your car?

This is a moral/ethical dilemma that was once actually used as part of a job application.

* You could pick up the old lady, because she is going to die, and thus you should save her first; * or you could take the old friend because he once saved your life, and this would be the perfect chance to! Pay him back. *
However, you may never be able to find your perfect mate again...

The candidate who was hired (out of 200 applicants) had no trouble coming up with his answer. Guess what was his answer?

He simply answered:

"I would give the car keys to my Old friend and let him take the lady to the hospital. I would stay behind and wait for the bus with the partner of my dreams."

Sometimes, we gain more if we are able to give up our stubborn thought limitations. Never forget to "Think Outside of the Box."

Question 6:

The interviewer asked the candidate "This is your last question of the interview. Please tell me the exact position of the center of this table where u have kept your files."

Candidate confidently put one of his finger at some point at the table and said that this was the central point at the table. Interviewer asked "how did you decide that this is the central point of this table?", then he answers quickly that "Sir you are not supposed to ask any more question, as it was the last question as you promised .....

And hence, he was selected as because of his quick-wittiness.



Tuesday, September 20, 2011

Mathematical magic tricks

Trick#1

Motive:
With this trick you can tell someone their age the month that they were born in and the day they were born on.

Steps:
Now tells your friend to:
1)   Write down the number of the month they were born on.
2)   Multiply by 100.
3)    Add the day of the month they were born on.
4)  Multiply by 2.
5)  Add 9.
6)  Multiply by 5.
7)  Add 8.
8)  Multiply by 10.
9)  Subtract 419.
10) Add his age.
11) Subtract 111.

Prediction:
The 2 digits on the right is the person’s age. The 2 digits on the left from the person’s age is the day that they were born on. The numbers that are left are the month your friend was born in.

Trick#2

Motive:
Predict the answer for a long mathematics sum.

Steps:
1.Tell your friend to think a three-digit number and have the largest number first then the smaller number and then the smallest number. For example: 742 or 971.

2.Tell him not to let you see his number.( Let’s take that the number is 861)

3.Next tell to turn the number around. (The number would be 168).

4.Now tell to subtract the smallest number from the largest one. (This would be 693). 

5.Now ask your partner to turn that number around.(the number would be 396). 

6.Now add them both together. (This would be 1089)

Now give him or her your paper and then watch his face when he sees that your number was 1089.

Prediction:
The answer is always going to be 1089 so always write that number down.