Saturday, 19 July 2014

How To Hide Any Drive Using Command Prompt

Step 1.   Open command Prompt, go to Start Menu > All Programs >Accessories > Command prompt

Step 2.   In the Command Prompt, type Diskpart and hit enter key. If UAC (User Account   Control), dialog-box prompts than click Yes.

Step 3. Then type List Volume and press enter, this will produce the list of all drives.

Step 4. Now select the drive which you want to hide, you can either do this by typing Select Volume 1 (i.e. Volume Number) or by typing Select Volume C(i.e. Drive letter)

 Step 5. To hide a drive, type Remove Letter C. Here, C is the drive letter than you want to hide. You can use any drive letter you want.

  Step 6. That’s it. You are done! C drive is now hidden

Friday, 20 June 2014

Shutdown other PC in Network using cmd

shutdown /m [\\computername] [/t ]  [/c "comment"]

/t = This is the time, in seconds, between the execution of the shutdown command and shut down or restart.

/c "comment" = This shutdown command option allows you to leave a comment describing the reason for the shut down or restart. You must include quotes around the comment. The maximum length of the comment is 512 characters.

example  :-

This command type in your cmd 

shutdown /m \\MY-PC /30 /c "bye"