Najeebsk

Aliases.txt

Feb 20th, 2024 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. # Custom Aliases
  2.  
  3. CALL=CALL $* # Call a batch file from another batch file
  4. CL=cls # Clear the console
  5. COMBIN=COPY *.$1 CombinFiles.$2 # Combine files with a specific extension into one file
  6. CON=CONTROL # Open Control Panel
  7. COP1=COPY $* # Copy a file
  8. COP2=XCOPY $* # Extended copy of files and directories
  9. COP3=COPY $1 $2 # Copy a file to a specific destination
  10. CUT1=SPLIT.exe -b 50K $* # Split a file into smaller parts by size
  11. CUT2=SPLIT.exe -l 200 $* # Split a file into smaller parts by number of lines
  12. DIM=DEVMGMT # Open Device Manager
  13. DL=DIR /S /B /A %CD%\* >> %COMPUTERNAME%-LIST.txt # List all files and directories in the current directory and save to a text file
  14. DR9=DIR /B /O:E $B FINDSTR /R /I "$1" # Search for files with a specific pattern and order by extension
  15. DR10=DIR /B /O:N $B FINDSTR /R /I "$1" # Search for files with a specific pattern and order by name
  16. DR11=DIR /X $* # Display short file names
  17. DR12=DIR /-b # Display bare format
  18. DR13=DIR /ah $* # Display hidden files
  19. DR14=DIR /a /x $* # Display files with attributes
  20. DR15=DIR /a /x /od $* # Display files sorted by date
  21. EMPTY=nircmd.exe emptybin # Empty Recycle Bin
  22. ENG=tesseract "$*" - -l eng # Perform OCR using English language
  23. ENV=RUNDLL32.EXE sysdm.cpl,EditEnvironmentVariables # Open Environment Variables settings
  24. ENVIR=SETX PATH "Enter environmental variables Path" # Set environmental variables
  25. ERASE=del # Delete files
  26. EX=taskkill /f /im explorer.exe # Terminate File Explorer
  27. EXO=explorer.exe # Open File Explorer
  28. EVV=EVENTVWR # Open Event Viewer
  29. EXT=exit # Exit the Command Prompt
  30. FILE=TYPE nul > $1 # Create a new empty file
  31. FILE2=COPY /B NUL $1 # Create a new empty file
  32. FILE3=CAT > $1 # Create a new empty file
  33. FINDA=FINDSTR /I /N /S "Serach-Text-Here" %CD%\*.* # Search for text in all files in the current directory
  34. FINDC=DIR /s /a /b \*.Ext* # Find files with a specific extension in all subdirectories
  35. FINDT=FOR %G IN (*.txt) do (find /n /i "Serach-Text-Here" "%G") # Search for text in all TXT files in the current directory
  36. FOL=MD # Create a directory
  37. GPE=GPEDIT # Open Group Policy Editor
  38. grep=findstr # Search for text in files
  39. HCOP=COPY /B $1 $2 # Copy binary files
  40. HIDE=ATTRIB +H +S +R %CD%\*.* # Hide files and folders
  41. HIDE2=ATTRIB +H +S +R $* # Hide files and folders
  42. INFO=SystemInfo # Display system information
  43. IP1=IPCONFIG # Display IP configuration
  44. IP2=IPCONFIG /ALL # Display detailed IP configuration
  45. ls=ls -la # List files and directories in long format
  46. MAKER=wmic csproduct get vendor # Get computer manufacturer information
  47. MD=MD "$*" # Create a directory with quotes around the name
  48. MD2=MKDIR $1 $t cd $1 # Create a directory and change to it
  49. MDH=MD $* & ATTRIB +H +S $* # Create a directory and set it as hidden and system
  50. MDD=MKDIR %date:~-4,4%%date:~-10,2%%date:~-7,2% # Create a directory with the current date as its name
  51. MDT=MKDIR %time:~0,2%.%time:~3,2% # Create a directory with the current time as its name
  52. MIX=tesseract "$*" - -l eng+urd # Perform OCR using mixed languages
  53. MOV=MOVE $* # Move a file
  54. MOV2=MOVE $1 $2 # Move a file to a specific destination
  55. MP3=youtube-dl -f bestaudio -x --audio-format mp3 --embed-thumbnail $* # Download YouTube video as MP3
  56. NC=NCPA.CPL # Open Network Connections settings
  57. netstat=netstat -aon # Display network statistics
  58. NETS=NETSTAT -a # Display network statistics
  59. NETS1=NETSTAT -an # Display network statistics
  60. NETSH=NETSH WLAN SHOW WLAN REPORT # Show WLAN report
  61. note=notepad # Open Notepad
  62. PATCHES=wmic qfe list full /format:htable # List installed patches
  63. ping=ping -t # Continuous ping
  64. pingh=ping host # Ping a specific host
  65. PIP=nslookup myip.opendns.com resolver1.opendns.com # Lookup public IP address
  66. PLA=ES.exe -a $1 >> List.txt # Search for a specific file extension and append to a list
  67. PLC=WHERE /R C:\ *.$* >> PLC.txt # Search for files with a specific extension in the C drive and output to PLC.txt
  68. PLD=WHERE /R D:\ *.$* >> PLD.txt # Search for files with a specific extension in the D drive and output to PLD.txt
  69. PLE=WHERE /R E:\ *.$* >> PLE.txt # Search for files with a specific extension in the E drive and output to PLE.txt
  70. PLF=WHERE /R F:\ *.$* >> PLF.txt # Search for files with a specific extension in the F drive and output to PLF.txt
  71. PLG=WHERE /R G:\ *.$* >> PLG.txt # Search for files with a specific extension in the G drive and output to PLG.txt
  72. PLM=WHERE /R $*:\ *.mp3 >> C:\CMDER\Media\PLAYM.m3u # Search for MP3 files in a specific drive and output to PLAYM.m3u
  73. PLV=WHERE /R $*:\ *.mp4 >> C:\CMDER\Media\PLAYV.m3u # Search for MP4 files in a specific drive and output to PLAYV.m3u
  74. REG=REGEDIT # Open Registry Editor
  75. RESM=PERFMON /RES # Open Resource Monitor
  76. restart=shutdown /r /t 0 # Restart the computer
  77. SCREENG=FFMPEG -f gdigrab -framerate 30 -i desktop
  78.  
Add Comment
Please, Sign In to add comment