Showing posts with label winkey. Show all posts
Showing posts with label winkey. Show all posts

Sunday, 27 September 2009

How to create a folder with a MS-DOS command

To create a folder/directory using a DOS command, do the following :

Open up a command window i.e. Winkey + R and type cmd into the field and press Enter.
Type : md c:\Testfolder and press Enter

That's it, you will now have a folder called 'Testfolder' on your C drive !

How to find the size of your hard drive using a DOS command

There are other easier ways of finding the size of your hard drive but this tutorial will show you how to do it using only DOS command.

1. Open the 'run' window by going to the start menu>run (or Winkey + R).
2. Type 'cmd' and press enter and the black DOS window will open
3. Type the following to see the details for C: drive.

'fsutil volume diskfree C:'

4. You will be shown something similar to the following :

Total # of free bytes : 748716032
Total # of bytes : 69265047552
Total # of avail free bytes : 748716032

5. These numbers may be abit confusing so it is best to convert them to Gigabytes or Megabytes using a converter off the net. Here is a link to the converter i used which produced the following results :

Total # of free Mb : 714.03125
Total # of Gb : 64.5081
Total # of avail free Mb : 714.03125

How to start and stop a service using command line

This method of starting and stopping a service applies to all Windows based operating systems e.g. Windows 2000, XP, Vista and Windows Server 2000/2003.

The first thing you will have to know is the name of the service you want to stop or start. You can find this by going to the services list :

1.Winkey + r
2. Type 'services.msc'
3. Locate the service you wish to start/stop and righ click>properties
4. The Service name is shown at the top on the general tab.

For my example i am going to use Internet Information Server (IIS) as the service i wish to stop. It's service name is 'w3svc'. So once you have the name then perform the following :

1. Winkey + r (or start menu and then click 'Run')
2. Type 'cmd' and press enter to bring up a command prompt.
3. Type Net Start or Net Stop (depending on what action you wish to perform) and then the service name e.g. 'Net stop w3svc'. Press enter.
4. In the above instance the command prompt window would show the messages "The World Wide Web Publishing service is stopping." and "The World Wide Web Publishing service was stopped successfully".

So, to start the service back up i would just use the Net start command.

How to register (or re-register) a DLL or OCX file

Go to the Run item on the Start Menu (or Winkey + R)

Type the following :

regsvr32 <path & filename of dll or ocx>

Press enter

Saturday, 26 September 2009

Keyboard shortcuts (WinKey)

WINKEY - Pressing this key will open the Start menu.

WINKEY + D - Brings the desktop to the top of all other windows.

WINKEY + E - Open Microsoft Explorer.

WINKEY + M - Minimizes all windows.

WINKEY + L - Lock the computer (Windows XP and above only).

WINKEY + R - Open the run window.

WINKEY + U - Open Utility Manager.

WINKEY + F1 - Display the Microsoft Windows help.

WINKEY + SHIFT + M - Undo the minimize done by WINKEY + M and WINKEY + D.

WINKEY + Pause / Break key - Open the system properties window

How to see the names of all computers on your network with a single command

Open up a command window i.e. Winkey + R and type 'cmd' into the field and press Enter.
Type : Net View and press Enter

Open control panel items from the 'Run' window

Below are useful shortcuts to items in control panel. Just press 'Winkey + r' to pop open the run dialogue.

Type the commands in bold and the items will open.

control - Control Panel
control folders - Folder Options
control userpasswords - User Accounts
control userpasswords2 - Advanced User Accounts
control desktop - Display Properties
control printers - Printers and Faxes
control mouse - Mouse Properties
control keyboard - Keyboard Properties
control netconnections - Network Connections
control color - Display Properties \ Screensaver
control date/time - Date and Time Properties
control schedtasks - Scheduled Tasks
control admintools - Administrative Tools
control telephony - Phone and Modem Options
control fonts - Fonts Folder
control international - Regional and Language