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

Tuesday, 1 July 2014

How to hide a file inside an Image

In this article, I am going to show you how you can hide any file inside or behind an image. Hiding a file inside an image means that your files will be merged with the image and if anyone clicks on image he/she will only see the image and not the hidden files. And if you want to see the hidden files you will have to open the image in different way.

This is a very simple, easy and a perfect way to hide your files from other because only you will know that there s a file behind the image, the other users will only see the image.

Tips before your Start:

  • Copy the files to Desktop, so that you don't have any problem while typing the address of files.
  • Create a zip or rar (using WinRar) file of the folder which you want to hide.
  • Rename files to simple name without any space or special signs.
  • Make sure you have access to command prompt.

Tutorial:

  1. Open Command prompt. (Right Click on Bottom Left corner and Select 'Command Prompt')
     
  2. Once you have copied your Image file and rar/zip file to desktop, type the following command an hit Enter.

    cd desktop
  3. Again type the command given below, replace the names and hit Enter.

    copy /b ImageName.jpg + FileName.zip OutputImageName.jpg
  4. Replace:
    ImageName.jpg with the name of your Image
    FileName.zip with the name of your file &
    OutputImageName.jpg with the name you want to give to your output file.
                              How to hide a file inside an Image
 
     4.  As soon as you hit Enter button your files will be merged (may take some time for Large files) and                 you will see the output file in your desktop. 
                                   How to hide a file behind an image
     
         5.  Now your files are hidden and your friends will never know that some important files are hidden  behind  the image. (You can copy/cut and paste your output file normally as you do for other files)

    NOTE: If you want make your files more secure then add a password while creating rar file.

    If you want to know how to unhide the files hidden behind an image then read this article. and If you need any help then you can comment below, I will be happy to help you.

    Saturday, 31 May 2014

    How to Disable/Enable Command Prompt (CMD)

    In this trick i am going to show you how you can disable command prompt from other user access. We are going to use GP Editor(Group Policy Editor) to disable command prompt. Disabling Command Prompt can help you to make your PC more safe. No one can use your Command Prompt to make changes in your PC or hack/misuse your using command prompt. To know how to disable/enable Command Prompt in windows see below tutorial.
     
                                 How to Disable/Enable Command Prompt (CMD)

    Tutorial:

    1. Open Run. (Press Win Logo Key + R.)

                                 How to Disable/Enable Command Prompt (CMD)
       
    2. Type gpedit.msc and hit Enter to open Group Policy Editor.
      NOTE: You should be the administrator of PC to open GP Editor.
       
    3. In Group Policy window browse to the following path in Left Pane.
      User Configuration > Administrative Templates

                       How to Disable/Enable Command Prompt (CMD)
       
    4. In right pane, Double click on 'System' Folder and then Open 'Prevent Access to the Command Prompt'.

                      How to Disable/Enable Command Prompt (CMD)
       
    5. You will see a new Dialog box. In this box change the setting to Enable and Click OK.
      NOTE: Do not make any changes in Options menu.(See Caution)

                       How to Disable/Enable Command Prompt (CMD)
       
    6. Now your Command Prompt has been disabled.
      -To re-enable it locate back to settings (in step 5) and choose Disable.

                      How to Disable/Enable Command Prompt (CMD)
    Caution:
    Do not prevent the computer from running batch files if the computer uses logon, logoff, startup, or shutdown batch file scripts, or for users that use Terminal Services.

    If you need any help then comment below.

    Friday, 2 May 2014

    Create WiFi Hotspot in Windows using Command Prompt

    In this post I am going to show you how to create WiFi hotspot in Windows PC without using any third-party software. This trick works in all version of Windows.

    Tutorial:

    1. Open Command Prompt as Administrator.
      Right Click on Left bottom and Select 'Command Prompt (Admin)'.
        
                                                 Create WiFi Hotspot in Windows using CMD
        
    2. Now Copy & Paste the following command & Hit Enter.

      netsh wlan show drivers

                               Create WiFi Hotspot in Windows using CMD
        
    3. Now check if your WiFi Card supports Hosted network or not. If your WiFi Card supports hosted network then follow next step.
       
    4. Copy and Paste the command below to create hosted network:

      netsh wlan set hostednetwork mode=allow ssid=WIFI NAME key=WIFI KEY
        
                              Create WiFi Hotspot in Windows using CMD
    5. Change the highlighted keywords:
      WIFI NAME with the name of WiFi you want to give to your Hotspot &
      WIFI KEY with the Password of your hotspot.

      After changing these keywords hit Enter.

                             Create WiFi Hotspot in Windows using CMD
         
    6. Once you have successfully created your Hosted network, the next step will be to Start your hosted network. So to start your hosted network type the command below and Hit Enter.

      netsh wlan start hostednetwork
        
                           Create WiFi Hotspot in Windows using CMD
    Now your hosted network will start. You can check it by searching for WiFi connections in your mobile.

    Final Words:

    You can share files between your PC and Mobile using WiFi, Play multi player Local WiFi games etc.
    Note: If you want to Share your PC's Internet Connection then follow this Tutorial.
    And, If you need any help related to this trick then comment below.

    Thursday, 1 May 2014

    Create 'CON' Folder in Windows

    CON is a reserved keyword used by DOS (Disk Operating System), So it is not possible to create a folder named CON or Con. If you try to create a folder with any of these names Windows shows an error.

    Here are some more keywords that are reserved by DOS:
    CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9

    But you can force Windows/DOS to create this folder for you. You can use this trick to create a folder named CON or any other reserved keyword from above list. 
      
                                           Create 'CON' Folder in Windows
       

    NOTE: It is advisable not to do so, as it might result in your system becoming unstable.Use this tutorial for knowledge purpose only.

    Tutorial:

    1. Open Command Prompt.
      Press Win Logo Key + R. Then type 'cmd' and Hit Enter.

                                    Create 'CON' Folder in Windows
       
    2. Now type the following command:
      mkdir \\.\path of folder of your choice\RESERVED_WORD
      For Example, if you want to create a folder named CON on desktop then type
      mkdir \\.\C:\Users\UserName\Desktop\CON

      Change UserName with your username.
       
                            Create 'CON' Folder in Windows
        
    3. After typing the above command hit Enter & you will see 'CON' folder on your desktop.
       
                                                   Create 'CON' Folder in Windows

    Deleting a Folder with Reserved Name(CON, PRN etc.):

                                             Create 'CON' Folder in Windows

    You can't delete a folder with reserved name. So, to delete this folder type the following command in Command Prompt:
    rmdir \\.\Path of Folder\RESERVED_NAME(Folder Name)
    For example, If I want to delete the folder that i made above, i will give the following command:
    rmdir \\.\C:\Users\UserName\Desktop\CON

                                  Create 'CON' Folder in Windows

    NOTE: Do not make this folder in your C: Drive or any drive that have OS installed. It might cause serious problems.

    If you need any kind of help related to this trick then comment below. Also share your views related to this trick.