IT

ALL IT Technology Information

CMD Commands



1.to show WiFi password $




 CMD Administrator use
> netsh wlan show profiles
>netsh wlan show profile wifiname key=clear


2.creat hotsport
 CMD Administrator use
>netsh wlan set hostednetwork mode=allow ssid=hotsportname key=123456789
>netsh wlan start hostednetwork

to off hotsport
>netsh wlan stop hostednetwork



1. how to encrypt file
file right click properties to adanced opction click to
encrypt contents to secure dadt

to cmd command
>cd (yourfloderto encrypt )
>cipher /e

2.cmd latter change to
>color 02

3.change c":\ user.... names to
>prompt yourname

4.how to show all software
>wmic product get name
>wmic product where "name like'%PuTTY%'" call uninstall /nointeractive

5. Scan Network With Simple Windows Command


go to desktop  cerat file ip-list.txt
dir = show folder file list
cd = change path
>for /L %i in (0,1,255) do ping -n 1 -w 250 192.168.0.%i>>ip-list.txt

==========================
How to show open port and any ip  connection ESTABLISHED

netstat -ano  | findstr :8080
//find all show open port and connection enable

taskkill /PID 3740 /F 

 
administaror to open cmd and past

sc stop w3svc
 
=====================================
start to batch file echo off>>

@echo off

end batch file to >>

PAUSH

==================================
This batch command shows the version of MS-DOS you are using.
1)

@echo off
ver 

Output
Microsoft Windows [Version 6.3.9600]

========================================
2)
@echo off
assoc > C:\lists.txt
assoc | find “.doc” > C:\listsdoc.txt
          ?
=================================
3)

Copy [source] [destination]

Example
copy C:\Users\myip\Desktop\joni\*  C:\aaa

=================================
4)
This batch command clears the screen
all command in cmd clear

@echo off
 Cls

================================
5)
This batch command deletes files and not directories
insid file delet

del [filename]


==
The following example shows the different variants of the del command.

@echo off
Rem Deletes the file lists.txt in C:\
===============================
6)
how to show all volume disk partion

cmd
diskpart
......next windows oper
Diskpart> list volume

extera
Diskpart>select volume 4
Dilspart>shrink desired-10240

10 gb new volume
===================================

7)
This batch command help to find the system date.

@echo off
echo %DATE%

Output
 Mon 12/28/2015

===============================
8)
The following example shows the different variants of the dir command

Rem Turns the echo on so that each command will be shown as executed

echo on
echo "Hello World"

Rem Turns the echo off so that each command will not be shown when executed
@echo off

echo "Hello World"
Rem Displays the contents of the PATH variable
echo %PATH%

=======================================
9)
creat a new folder

md [new directory name]

=================================
10)
MOVE
This batch command moves files or directories between directories

move [source] [destination]

The files will be copied from source to destination location.
Example
move C:\lists.txt c:\tp
==============================
11)
All system info

@ECHO OFF
:: This batch file reveals OS, hardware, and networking configuration.
TITLE My System Info
ECHO Please wait... Checking system information.
:: Section 1: OS information.
ECHO ============================
ECHO OS INFO
ECHO ============================
systeminfo | findstr /c:"OS Name"
systeminfo | findstr /c:"OS Version"
systeminfo | findstr /c:"System Type"
:: Section 2: Hardware information.
ECHO ============================
ECHO HARDWARE INFO
ECHO ============================
systeminfo | findstr /c:"Total Physical Memory"
wmic cpu get name
:: Section 3: Networking information.
ECHO ============================
ECHO NETWORK INFO
ECHO ============================
ipconfig | findstr IPv4
ipconfig | findstr IPv6
PAUSE

===========================================
12)
creat a user new administrator


@echo off

net user "pradhyuman" "password" /add

net localgroup Administrators pradhyuman /add

WMIC USERACCOUNT WHERE "Name='pradhyuman'" SET PasswordExpires=FALSE

WMIC USERACCOUNT WHERE "Name='pradhyuman'" SET Passwordchangeable=FALSE

==========================================
13)
remover txt file

del "D:\Test_1\Test\*.txt" /s /f /q

===================================



Download web

++The Pirate Bay
++ant app download
 
========================================================
 
How To Block Any web site in your pc 
 
First you go =  C:\Windows\System32\drivers\etc

in this folder show Host name file 
this host name file copy past your desktop and edit

your write in host file 
like----
>>>>
127.0.0.1    www.facebook.com
>>>>>
Save this file and this change file copy past same loaction

C:\Windows\System32\drivers\etc
overwrite ok 
then restart your pc and check your web site is block
========================ok======================

Amazing, only one click you can corrupt windows O.S

#bcdedit.exe /delete {current} 

===

 

  1. To shut down Windows, type shutdown -s and press Enter .
  2. To restart Windows, type shutdown -r and press Enter .
  3. Put a shutdown timer on your Windows desktop with this command

  4. Shutdown -r -t 2000

  5. time is sec in 

     

 

5 comments:

  1. Many colleges teach practical skills that are crucial to becoming a software developer. As logical reasoning and critical thinking are important in becoming a software professional, this degree encompasses the complete process of software development from software design and development to final testing cisco certified tutorial

    ReplyDelete
  2. PC Desktop folder hide dont see this folder
    prass ALT and type 0160
    then you hide this folder

    ReplyDelete
    Replies
    1. you can try 2ed type of
      prass ALT and type 255
      same hide folder

      Delete
  3. pc in telnet to show move in cmd
    telnet TOWEL.BLINKENLIGHTS.NL.
    type in cmd sand start movie using commands

    ReplyDelete
  4. FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply">>c:\ipaddresses.txt

    ReplyDelete