Showing posts with label cmd help. Show all posts
Showing posts with label cmd help. Show all posts

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 ...

Saturday, August 24, 2013

How to Create a Shutdown Shortcut in Windows

How to Create a Shutdown Shortcut in Windows:
If you want to shut down your computer every time we are going to start and selecting shut down button to shut down your computer, instead of this we can create shut down, restart, log off shot cuts in desktop
This article will help to create a shortcut shut down button in your windows

Step 1:  Right click on your desktop, choose new ->shortcut

Step 2:  Type shutdown.exe -s in text filed click on Next

Step 3: Enter any name for shortcut and click on Finish
One shortcut folder has created as shown below


If you want to shut down your system double click on that shortcut, if you want to change the Icon as Shut Down symbol, right click the short cut and select properties

Click on Change Icon button

 You will get a message as shown below click on OK

Select an appropriate icon from list of the icons and click on OK

Click on Ok

See the short cut icon

If double click on that it will shut down your system
Same way if you want you can create shortcuts for restart and log off also
  •   If you want to create a shortcut for restart Type shutdown.exe -r in shortcut text field at step 2
  •   If you want to create a shortcut for log off Type shutdown.exe -l in shortcut text field at step 2
  •   If you want to create a shortcut to shut down your computer after a specific time Type shutdown.exe  -s -t 200 in shortcut text field at step 2
  •   If you want to create a shortcut to display a custom message before shut down a system Type shutdown.exe -s -t 300 -c "Bye I am going to sleep" in shortcut text field at step 2
  •   If you want to create a shortcut to terminate already scheduled shutdown Type shutdown.exe -a in shortcut text field at step 2

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