Showing posts with label Command Prompt Help. Show all posts
Showing posts with label Command Prompt Help. Show all posts

Thursday, August 29, 2013

How to Create a Folder in your PC

How to Create a Folder in your PC:
This article will help you to create your own folders in your PC
Way 1:
Open the path where you want to create a folder, here I am creating a new folder on my desktop

Right click on desktop, go to New->Folder
A folder will be created as shown below
Rename the folder with any name 
And click on enter, your folder is created with a given name
 Way 2: you can also create a folder using command prompt
Below steps will help you to create a new folder in your system using command prompt
Step 1: Open your command prompt (Go start-> type cmd ->click on enter)
Step 2: By using MKDIR (or) MD commands your can create new folder in your system
Syntax:
C :\> makdir [Path Name to create a folder]\[folder name]
Ex : Here I am creating a folder(folder name : how2doit)  in my desktop 
Click on enter 
Go to your desktop check for how2doit folder
Syntax 2: Creating a folder using MD command
C :\> md [Path Name to create a folder]\[folder name] 
Go to your desktop check for how2doit1 folder
Note : By using WAY1 we can't create a folders with below names
Con
Prn
Nul
Aux
Com1
Com2
Com3
Com4
Com5
Com6
Com7
Com8
Com9
Lpt1
Lpt2
Lpt3
Lpt4
Lpt5
Lpt6
Lpt7
Lpt8
Lpt9
If you try to create a folder with above names using WAY 1 you will get an error message like "The specified device name is invalid"

We can create folder with above name using command prompts
Note: we can't create and delete folder with above names directly by using command prompt only we can create a folder with above names 
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments

Read more ...

Wednesday, August 28, 2013

How to delete con/auf/prn/nul Folders

How to delete con/auf/prn/nul Folders:
In windows it is not possible to delete a folder having the following names
Con
Prn
Nul
Aux
Com1
Com2
Com3
Com4
Com5
Com6
Com7
Com8
Com9
Lpt1
Lpt2
Lpt3
Lpt4
Lpt5
Lpt6
Lpt7
Lpt8
Lpt9

If you try to delete a folder with above names you will get a message like "Item Not Found"
Solution for the above problem is deleting a folders using command prompt
Step 1: Open your command prompt (Go start-> type cmd ->click on enter)
Step 2: By using RMDIR (or) RD commands your can delete folder in your computer
Syntax 1: Deleting a con/auf/com1.etc  folder using RMDIR command
C:/>rmdir \\.\[Path Name to create a folder]\[folder name]
Syntax 2: Deleting a con/auf/com1.etc folder using RD command
C:/>rd \\.\[Path Name to create a folder]\[folder name]
Note: By using command prompt we can delete any folder
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments


Read more ...

How to create a con,auf,prn,nul Folders Using Command Prompt

How to create a con/auf/prn/nul Folders Using Command Prompt:
In windows it is not possible to create a folder with the following names
Con
Prn
Nul
Aux
Com1
Com2
Com3
Com4
Com5
Com6
Com7
Com8
Com9
Lpt1
Lpt2
Lpt3
Lpt4
Lpt5
Lpt6
Lpt7
Lpt8
Lpt9

If you try to create a folder with above names you will get an error message like "The specified device name is invalid"

Reason: Above all are the reserved keywords used by DOS, if you try to create a folder with above names there will be an ambiguity problem
Solution for the above problem is creating a folders using command prompt
Step 1: Open your command prompt (Go start-> type cmd ->click on enter)
Step 2: By using MKDIR (or) MD commands your can create new folder in your computer
Syntax 1: Creating a con/auf/com1.etc  folder using MKDIR command
C:/>mkdir \\.\[Path Name to create a folder]\[folder name]
Go to your desktop check for con folder

Syntax 2: Creating a con/auf/com1.etc folder using MD command
C:/>md \\.\[Path Name to create a folder]\[folder name]
Go to your desktop check for prn folder
Note: By using command prompt we can create a folder with any name
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments 
Read more ...

How to Create a Folder Using Command Prompt

How to Create a Folder Using Command Prompt:
This article will help you to create a folder/directory using command prompt

Step 1: Open your command prompt (Go start-> type cmd ->click on enter)
Step 2: By using MKDIR (or) MD commands your can create new folder in your system
Syntax 1: Creating a folder using MKDIR command
C :\> makdir [Path Name to create a folder]\[folder name]
Ex : Here I am creating a folder(folder name : how2doit)  in my desktop
Click on enter
Go to your desktop check for how2doit folder

Syntax 2: Creating a folder using MD command
C :\> md [Path Name to create a folder]\[folder name]
Go to your desktop check for how2doit1 folder

Note: By using command prompt we can create a folder with any name
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments 
Read more ...

Monday, August 26, 2013

How to Find Out Your Computer IP Address

How to Find Out Your Computer IP Address:
IP address is number assigned to system when it connected to Internet, when the system connected to network router it maintains two addresses, One is private address another one is public address
Private address is used to communicate with all the devices in a network
Public address is used when your system is connected to different external network like Internet or any other local network
Below steps will help you to find your computer Internet/External IP address  
There are many ways to find out your computer external IP address
Way 1: Open your web browser and go to www.google.com
Type My IP and click on enter
Then you will get your public IP address
Way 2: By using below websites you can trace your public IP address
If you want to trace your computer Local/private IP address follow below process
By using IPCONFIG command you can trace your private IP address
Open your command prompt, Type IPCONFIG as shown below
Click on enter this command will display your private IP address
If your computer is connected to external network via Ethernet, then your computer IP address will be showed under Ethernet adapter Local Area Connection
If your computer is connected to external network via Wi-Fi, then your computer IP address will be showed under wireless LAN adapter wireless network Connection
In Linux your computer IP address will be showed after "eth0."
In old versions of windows use winipcfg command instead IPCONFIG to find out your private IP address
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments
Read more ...

Friday, August 23, 2013

How to Shut Down Your Computer With the Command Prompt:

How to Shut Down Your Computer With the Command Prompt:
Most of us are using shutdown button in the menu bar to shutdown computer, very less people are using command prompt to shut down a computer, why because most of them don't know how to shutdown a computer with command prompt
By using command prompt we can shutdown a computer, we can log off, we can restart
This article will help to shutdown a computer with the command prompt
Step 1: open command prompt (Go to Start -> type cmd in search box)
Step 2:  Type shutdown -s in the command prompt and click on enter, this command will shut down your computer
 It will display a message like windows will shut down in less than a minute.
Type shutdown -r in command prompt and click on enter, this command will restart your computer
It will display a message like windows will shut down in less than a minute.
Type Shutdown -l in command prompt and click on enter, this command will logoff your computer

If you want to shut down your computer after a specific time use the below command
Type shutdown -s -t 200 in command prompt and click on enter, this command will shut down your computer after 200 seconds
Click on enter you will get a message as shown below

If you want to display a custom message before shut down a system use below command
Type shutdown -s -t 300 -c "Bye I am going to sleep" in your command prompt and click on enter
-c command will give the reason for shut down
It will give a message as shown below
If you want to terminate already scheduled shutdown use below command
Type shutdown -a in command prompt and click on enter it will stop the system from shutting down

You will get a notification as shown below

Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments

Read more ...

Thursday, August 22, 2013

How to Change Directory in Command Prompt

How to Change Directory in Command Prompt(cmd):
This tutorial will help you to change directories in command prompt and to see list of directories and files available in current directory

Step 1: Open Command Prompt (Go to Start -> type cmd in search box)
Step 2: CD (Change Directory) command is used to switch directories in Command Prompt
Syntax: CD Directory name
Click on enter, command prompt will change to new directory
Step 3: To go back to Previous directory type CD..
Click on enter
Step 4: To see List of directories available in current directory use dir Command
Click on enter
Step 5: to close command prompt use the exit command

Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments 


Read more ...

Blog Archive