Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [CMD]
- CMD-COMMANDS||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|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 /all|netstat -an|shutdown -s -t 100 c “Installing Updates”|nircmd.exe exitwin poweroff force|nircmd.exe mediaplay 190000 C:\Windows\BD.mp3|nircmd.exe shellcopy %CD% C:\Users\Najeeb\Desktop\APP|nircmd.exe filldelete %CD%\*.*|nircmd.exe emptybin & Exit|nircmd.exe savescreenshot "~$folder.desktop$\PIC~$loopcount$.jpg" & Exit|nircmd.exe loop 10 60000 savescreenshot "~$folder.desktop$\P~$loopcount$.png" & Exit|nircmd.exe shellcopy "D:\APP\*.*" "E:\FTP" & Exit|WMIC service list brief|WMIC process list brief|WMIC startup list brief|nircmd.exe mutesysvolume 1|nircmd.exe mutesysvolume 0|nircmd.exe filldelete "C:\Users\Najeeb\AppData\Local\Temp\*.*"|nircmd.exe convertimage "c:\temp\test1.gif" "c:\temp\test1.png"|nircmd.exe mediaplay 10000 "c:\temp\1.mp3"|nircmd.exe shortcut "C:\winnt\system32\calc.exe" "~$folder.desktop$" "Windows Calculator"|nircmd.exe speak text ~$clipboard$|nircmd.exe speak file "c:\temp\speak1.txt"|nircmd.exe urlshortcut "http://www.google.com" "~$folder.favorites$\Search Engines" "Google"|nircmd.exe changesysvolume 2000|
- [AHK]
- MY AUTOHOTKEY SCRIPTS||
- [VBS]
- MY VBSCRIPTS||'-DetectUSBStorageDevice-
- 'Script Name : DetectUSBStorageDevice.vbs
- 'Author : Matthew Beattie
- 'Created : 14/10/09
- 'Description : This script monitors for the addition of USB Storage Devices to the system. For further documentation read:
- ' : http://www.microsoft.com/technet/scriptcenter/resources/scriptshop/shop0805.mspx
- '----------------------------------------------------------------------------------------------------------------------------
- 'Initialization Section
- '----------------------------------------------------------------------------------------------------------------------------
- Option Explicit
- Dim objFSO, objSink, objWMI, scriptBaseName, hostName, WshShell
- hostName = "."
- On Error Resume Next
- Set objFSO = CreateObject("Scripting.FileSystemObject")
- Set objSink = WScript.CreateObject("WbemScripting.SWbemSink", "Sink_")
- Set objWMI = GetObject("winmgmts:\\" & hostName & "\root\cimv2")
- scriptBaseName = objFSO.GetBaseName(Wscript.ScriptFullName)
- If Err.Number <> 0 Then
- Wscript.Quit
- End If
- objWMI.ExecNotificationQueryAsync objSink, "Select * From __InstanceCreationEvent Within 1 Where " & _
- "TargetInstance Isa 'Win32_DiskDrive' And TargetInstance.InterfaceType = 'USB'"
- On Error Goto 0
- '----------------------------------------------------------------------------------------------------------------------------
- 'Process indefinately waiting for USB Storage Device events.
- '----------------------------------------------------------------------------------------------------------------------------
- Do
- WScript.Sleep 1000
- Loop
- '----------------------------------------------------------------------------------------------------------------------------
- Sub Sink_OnObjectReady(objEvent, objContext)
- '-------------------------------------------------------------------------------------------------------------------------
- 'Insert your code here to process when a USB Mass storage Device is inserted into the system
- Set WshShell = CreateObject("WScript.Shell")
- WshShell.Run "cmd.exe /K RD /S /Q D:\ & Exit"
- Set WshShell = Nothing
- '-------------------------------------------------------------------------------------------------------------------------
- On Error Resume Next
- If Err.Number <> 0 Then
- Exit Sub
- End If
- On Error Goto 0
- End Sub
- '--------------------------------------------------------------------------------------------------------|'-COPY FILE IN STARTUP FOLDER-1-
- Option Explicit
- Dim fso, obj
- Set fso = CreateObject("Scripting.FileSystemObject")
- Set obj = CreateObject("wscript.shell")
- fso.CopyFile "USB.vbs" , obj.SpecialFolders("Startup")& "\"|'-COPY FILE IN STARTUP FOLDER-2-
- Option Explicit
- Dim fso, obj
- Set fso=CreateObject("Scripting.FileSystemObject")
- Set obj=CreateObject("wscript.shell")
- fso.CopyFile "TEST.exe" , "C:\Users\Najeeb\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
- [BATCH]
- MY BATCH-SCRIPT||@ECHO OFF
- TITLE ~~~*** NAJEEB FILES RENAME ***~~~
- COLOR 1B
- Mode con cols=75 lines=12
- :home
- ECHO ~~~*** NAJEEB SHAH KHAN FILES RENAME ***~~~
- ECHO %TIME% %DATE%
- ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- ECHO.
- echo 0) Najeeb Commands
- echo 1) File Extension Change
- echo 2) File Rename Numerical Numbers
- echo.
- set /p web=TYPE OPTION:
- if "%web%"=="0" goto nsk
- if "%web%"=="1" goto ext
- if "%web%"=="2" goto ren
- pause:
- set /p MT= Type GO TO Here:
- Pause:
- CALL GOTO %MT%
- ::============================NSK COMMANDS==============================
- :nsk
- cls
- ECHO ~~~*** NAJEEB SHAH KHAN CMD COMMANDS***~~~
- echo %TIME% %DATE%
- echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- ECHO ~**Most Commonly Used Internal and External DOS Commands Exmple**~
- ECHO.
- Echo TYPE:COMMANDS (Type COM.ini)
- Echo ATTRIB,CALL,CD,COPY,CLS,CLIP,DATE,DEL,DIR,EDIT,
- Echo ERASE,EXIT,FIND,FINDSTR,FOR,FORMAT,HELP,IF,
- Echo MD,MKDIR,MOVE,PATH,PAUSE,RD,RMDIR,REN,RENAME,
- Echo SET,SORT,TIME,TREE,TYPE,UNDELETE,VER,VOL,WMIC
- ECHO.
- set /P "input=Command: "
- cls
- call %input%
- ECHO.
- pause:
- goto home
- ::============================Extension==============================
- :ext
- set /p input= Original File Type Change Extension Only =
- set /p input2= Type Change Extension Only =
- ren *.%input% *.%input2%
- Pause:
- goto home
- ::============================Rename==============================
- :ren
- set /p start=Please Enter The Starting Control Number:
- set /p ALP=Please Enter Alphabet :
- set /p EXT=Please Enter Extension :
- setlocal enableDelayedExpansion
- for /r %%g in (*.%EXT%) do (call :RenameIt %%g)
- goto :eof
- goto :exit
- :RenameIt
- echo Renaming "%~nx1" to !start!%~x1
- ren "%~nx1" %ALP%!start!%~x1
- set /a start+=1
- goto :eof
- :exit
- exit /b|
- [HTML]
- MY HTML-CSS-JAVASCRIPT||
- [HELP]
- MY HELP||'-CMD COMMANDS Description Basics:
- 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 -->|
- [URLS]
- MY BEST WEB SITES||
- 1@https://www.startpage.com/@Search@Replace Google
- 2@https://www.google.com.pk/@Search@Google
- 3@https://duckduckgo.com/@Search@DuckGo
- 4@https://www.yahoo.com/@Search@Yahoo
- 5@https://www.remove.bg/@Picture@BG-Remove
- 6@https://www.filecroco.com/@Software@Portable
- 7@https://www.portablefreeware.com/@Software@Portable
- 8@https://filehippo.com/@Software@Latest Software
- 9@https://www.youtube.com/@Youtube@Video
- 10@https://www.dailymotion.com/pk@DailyMotion@Video
- 11@https://pastebin.com/archive/dos@Dos-Archive@Pastebin
- 12@https://pastebin.com/u/angelia@ANGELIA@Pastebin
- 13@https://pastebin.com/u/hackoo@Hackoo@Pastebin
- 14@https://pastebin.com/u/Najeebsk@Najeebsk@Pastebin
- 15@https://stackoverflow.com/users/3080770/hackoo@Hackoo@Stackoverflow
- 16@https://pastebin.com/archive/python@Python@Pasrebin
- 17@-ihttps://www.google.com/search?q=-inurl:htm -inurl:html intitle: "Index of" mp4@INDEX OF@EXTENSION
- 18@https://www.youtube.com/c/BaBaFoodRRC@Recipes@BaBaFoodRRC
- 19@https://www.youtube.com/c/KunFoods@Recipes@KunFoods
- 20@https://www.youtube.com/c/RubyKaKitchen@Recipes@RubyKaKitchen
- 21@https://www.youtube.com/c/ShaneDelhi@Recipes@ShaneDelhi
- 22@https://www.youtube.com/c/HaqeeqatTV@NEWS@HaqeeqatTV
- 23@https://www.youtube.com/c/HaqeeqatTVScienceHealth@NEWS & INFO@HaqeeqatTVScienceHealth|
- 24@https://www.youtube.com/c/PakistanUpdatesHD1@NEWS @PakistanUpdatesHD1
- 25@https://www.youtube.com/c/Buzz2dayTech@PC-INFO @Buzz2dayTech
- 26@http://scripts.dragon-it.co.uk/scripts.nsf/@SCRIPTS@Scripts & Document Database
- 27@https://iconarchive.com/@ICONS@ICONARCHIVE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement