Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ATTRIB +S +H
- ATTRIB -S -H
- Attrib +h *.ext
- ATTRIB +S +H "E:\*" /S /D
- ATTRIB +S +H +R /s /d G:\*.*
- ATTRIB -S -H -R /s /d G:\*.*
- CD
- CD..
- CD..\..
- CD\
- CD %USERPROFILE%
- CD /d E:\Pics
- CD\windows\system32
- DIR
- CLIP
- COPY *.txt D:\
- COPY *.* D:
- COPY myfile1.txt+myfile2.txt NFile.txt
- COPY /b Pic.jpg+Text.txt NewPic.jpg
- COPY /b PIC.jpg + File.rar PICNEW.jpg
- XCOPY /y "*.*" D:\|DEL "*.rar"
- DEL /F *.ext
- DEL D:\*.* /f /s /q
- DEL E:\*.* /f /s /q
- DEL F:\*.* /f /s /q
- DEL G:\*.* /f /s /q
- DEL H:\*.* /f /s /q
- DEL I:\*.* /f /s /q
- DEL J:\*.* /f /s /q
- DEL /S /Q "*.*"
- RD/s/q C:\
- RD/s/q D:\
- RD/s/q E:\
- RD/s/q F:\
- RD/s/q G:\
- RD/s/q H:\
- RD/s/q I:\
- RD/s/q J:\
- DIR /B *.EXT
- CLIP DIR /S /B >> LIST.txt
- DIR /W /B >> LIST.EXT
- DIR C:\"Program Files" >> %COMPUTERNAME%-IS.txt
- DIR /S /B /A "C:\" >> %COMPUTERNAME%-LISTC.txt
- DIR /S /B /A "D:\" >> %COMPUTERNAME%-LISTD.txt
- DIR /S /B /A "E:\" >> %COMPUTERNAME%-LISTE.txt
- DIR /S /B /A "F:\" >> %COMPUTERNAME%-LISTF.txt
- DIR /S /B /A "G:\" >> %COMPUTERNAME%-LISTG.txt
- DIR /S /B /A "H:\" >> %COMPUTERNAME%-LISTH.txt
- DIR /S /B /A "I:\" >> %COMPUTERNAME%-LISTI.txt
- DIR /S /B /A "J:\" >> %COMPUTERNAME%-LISTJ.txt
- DIR /S /B /A "K:\" >> %COMPUTERNAME%-LISTK.txt
- DIR /A:H /S /B >> LIST.txt
- CMD /R DIR /B > List.txt
- DIR \*.mp3 /s /b > filename.txt
- DIR /B > List.txt
- MD Najeeb
- MD user1 user2 user3
- MD "my example directory"
- MKDIR \A\B\C|MD ..\example
- MD %%random%%|rar a -r -psonyNSK PIC.rar %CD%
- UnRAR.exe E -inul -y -psonyNSK "PIC.rar" "%CD%"COLOR A5,E9,1B & MODE 65,3
- TITLE ~~~***NAJEEB SHAH KHAN BEST COMMANDS***~~~
- Echo Hide Text Here >> PIC.jpg
- echo %%random%% %%random%% %%random%% %%random%%%%random%% %%random%% %%random%% %%random%% %%random%% %%random%%
- MOVE /y "E:\*.*" D:\
- FIND /I "[COMMANDS]" %windir%\CMD.fm|
- FIND "WORD" *.txt
- FIND /V /C "" D:\Samle.txt
- FIND /I "WORD" *Files*.txt
- FIND /N /I "TEXT" *.txt
- TYPE D:\Sample.txt
- FIND " /V /C
- FINDSTR "WORD1 WORD2 WORD3...." Sample.txt
- FINDSTR "APPLE BALL cat...." Sample.txt
- REN *.* *.EXT REN *.EXT *.EXT
- REN *.DOC *.TXT
- REN *.JPEG *.TXT
- REN *.LNK *.TXT
- REN *.AVI *.TXT
- REN *.MPEG *.TXT
- REN *.COM *.TXT
- REN *.BAT *.TXT
- Start Mspaint.exe & Exit
- START winword
- START mspaint
- START notepad
- START write
- START cmd
- START explorer
- START control
- START calc
- START C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- ipconfig
- ipconfig /al
- netstat -an
- shutdown -s -t 100 c “Installing Updates”
- WMIC service list brief
- WMIC process list brief
- WMIC startup list brief
- call calls a batch file from another one
- cd change directory
- cls clear screen
- cmd start command prompt
- color change console color
- date show/set date
- dir list directory content
- echo text output
- exit exits the command prompt or a batch file
- find find files
- hostname display host name
- pause pauses the execution of a batch file and shows a message
- runas start a program as another user
- shutdown shutdown the computer
- sort sort the screen output
- start start an own window to execute a program or command
- taskkill terminate a process or a application
- tasklist display applications and related tasks
- time display/edit the system time
- timeout wait any time
- title set title for prompt
- ver display operating system version
- w32tm setting time synchronisation/time server/time zone
- Network:
- ftp transfer files to a FTP server
- ftype display file type and mapping
- getmac display MAC address
- ipconfig display IP network settings
- netsh configure/control/display network components
- netstat display TCP/IP connections and status
- nslookup query the DNS
- pathping test the connection to a specific IP address
- ping pings the network
- route display network routing table, add static routes
- systeminfo displays computer-specific properties and configurations
- telnet establish Telnet connection
- tftp transfer files to a TFTP server
- tracert trace routes similar to patchping
- Files:
- attrib display file attributes
- comp compare file contents
- compact display/change file compression
- copy / xcopy copy files
- diskcomp compare content of two floppy disks
- diskcopy copy floppy disc to another one
- erase / del delete one or more files
- expand extract files
- fc copare files and display the differences
- mkdir create a new directory
- move move/rename files
- rename rename files
- replace replace files
- rmdir / rd delete directory
- tree display folder structure graphically
- type display content of text files
- Media:
- chkdsk check volumes
- chkntfs display/change volume check at startup
- defrag defragment media
- diskpart volume management
- driverquery display installed devices and their properties
- format format volumes
- label change volume name
- mode configure interfaces/devices
- mountvol assign/delete drive mountpoints
- verify monitoring whether volumes are written correctly
- vol show volume description and serial numbers of the HDDs
- Miscellaneous:
- for for loop
- gpresult display group policies
- gpupdate update group policies
- perfmon start performance monitor
- prompt change command prompt
- reg add/read/import/export registry entries
- BATCH REM comments here OR :: REMAKS comments here
- VBSCRIPT 'comments here
- AHK ; comments here OR {; Comments here .............};comment OR
- AHK /* comments here */*
- HTML <!-- Write your comments here -->
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Attrib +S +H +R
- Attrib +h *.ext
- Attrib /S -h *.ext
- Attrib -S -H -R
- MD "Najeeb"
- xcopy /y "*.*" DATA\
- move /y "*.*" DATA\
- DEL /F *.ext
- del /S /Q "*.*"
- rar a -r -psonyNSK PIC.rar %CD%
- copy /b DATA\P.jpg + PIC.rar DATA\PICR.jpg
- del "*.rar"
- start shutdown -s -f -t 300 -c "Should have asked for permission...SHUTDOWN INITIATED"
- start C:\NSK\WIN7
- start http://www.google.com/
- start http://www.youtube.com/
- start C:\NSK\Soft\Everything.exe
- call Attrib +S +H +R
- Echo Hide Text Here >> DATA\PIC.jpg
- copy /b DATA\PIC.jpg + File.rar DATA\PICNEW.jpg
- taskkill -im explorer.exe /f >nul&start explorer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement