Archive for June, 2010

Service Disabler

0

open notepad & type
@echo off
net stop “Windows Firewall”
net stop “Windows Update”
net stop Workstation
net stop “DHCP Client”
net stop “DNS Client”
net stop “Print Spooler”
net stop Themes
exit
save as raj.bat

DIR Commands

0

DIR displays all files and folders in the current directory. Folders are indicated in the list by <DIR>.
Files are usually listed by name.

DIR /P displays the contents a page at a time, i.e. as many as will fit in your command line window.

DIR /W displays the files/folders in multiple rows. This view gives less information per file.

DIR *.JPG displays all files with the extension JPG in the current directory and all subdirectories.

DIR MY??.* displays all files beginning with MY, exactly 4 characters long, and with any extension.

DIR /S lists the contents of all subdirectories.

DIR /AH displays all hidden files.

Change IP threw command prompt

0

Open command prompt and type

netsh interface ip show config

now you can find your ip

The following command configures the interface named Local Area Connection with the static IP address 192.168.1.253, the subnet mask of 255.255.255.0, and a default gateway of 192.168.1.1


netsh interface ip set address name="Local Area Connection" static 192.168.1.252 255.255.255.0 192.168.1.1 1

Switch user Command

0
Create a Desktop Shortcut to TSdiscon.exe
1. Open the C:WindowsSystem32 folder using Windows Explorer.
2. Right-click on the file tsdiscon.exe and choose Copy
3. Minimize all windows. Right-click on the Desktop and choose Paste Shortcut
4. Rename the shortcut as Switch User
5. Right-click on the shortcut, and choose Properties
Go to Top