Showing posts with label Bat. Show all posts
Showing posts with label Bat. Show all posts

Google Your PC

dir/b/s %1|find "%2"


save with a file name google.bat.
open the cmd.exe and type 
    google c: .bat
to search all files in c:\ with *.bat extension.

Get System Info


@ echo off
cls
echo TIME: %TIME% 
echo DATE : %DATE% 
echo OS: %os% 
echo COMPUTERNAME:: %computername% 
echo USERDOMAIN:: %USERDOMAIN%
echo USERNAME:: %USERNAME%
echo USERPROFILE:: %USERPROFILE%
echo USERPROFILE:: %ALLUSERSPROFILE% 

Get Stored Username & Password

Type

rundll32.exe keymgr.dll, KRShowKeyMgr

in Run or Command Prompt

Open a port


@echo off
cls
netsh firewall add portopening All 1337 napstr4u Enable All