Archive for June, 2010
Service Disabler
0open 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
0DIR 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
0Open 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 1Google+