Think and play

Folowing are some tricks and interesting facts.......plug n play

1. How to create batch file to restart and shutdown the system
   (a) Open notepad and write shutdown -r and save it with name restart.dat
   (b) Open notepad and write shutdown -s and save it with name shutdown.dat
   (c) Open notepad and write shutdown -a and save it with name append.dat
now it create batch file for restart and shutdown the system, append.dat batch file is used to append restart and shutdown.

2. How to generate the random file
    (a) Open ms office word and write =rand(1,2000) 
    (b) Hit enter
    (c) Ready to see some thing random 

3. How to generate new folder with in name con,  com1,.., com9,nul,lpt1,..,lpt9 etc
     (A) first trick
STEP1: goto command prompt
STEP2: type in prompt c:\> "mkdir \\.\c:\con"
STEP3: verify by typing "dir \\.\e:\con"
not only creating this folder is not interesting but also deleting this folder is a critical task, try this
STEP4: delete the file or folder "rmdir \\.\c:\con"

     (B)  For same purpose another easy trick
STEP1: goto command prompt
STEP2: type in prompt c:\> md \con\\
not only creating this folder is not interesting but also deleting this folder is a critical task, try this
STEP4: delete the file or folder  c:\> rd \con\\


4. How to generate same name folder