Tuesday, December 20, 2011

Printing a Directory

Printing a Directory


WindowsXP does not allow you to use previously describe methods for printing the contents of a directory.
To do this requires the creation of a small batch file which is then added to your right-click options.
Batch File
On the root of the C: drive, create a batch file called print_directory.bat with the following lines:
@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit
Note: dir %1 /o:g will print with any directories listed first. You can add whatever other switches you like

No comments:

Post a Comment

POWER..........

POWER OF KNOWLEDGE


KNOWLEDGE IS POWER

1. The desire for power inherent in man.

2. Distinctions and disparities lead to the idea of superiority both on the individual and national level.

3. Mental power superior than physical power.

4. Knowledge attained by man gave him the power to rule over the elements that govern life.

5. All the discoveries and inventions of man, the manifestation of the power of knowledge.

6. Discipline, order and economy form the basis of the power given by knowledge

7. ‘Balance’ is the cardinal virtue of good sense.

8. Knowledge must mellow in wisdom which is the mark of culture and humanity.

9. The quest of knowledge should lead to the realization of the Truth.