• CMD starts a new instance of the command interpreter cmd.exe


    Cmd Start command interpreter   Cmd.exe   New instance of. If used without parameters, then   cmd   display   Windows   XP   Version and copyright information. grammarcmd [[{/c|/k}] [/s] [/q] [/d] [{/a|/u}] [/t:fg] [/e:{on|off}] [/f:{on|off}] [/v:{on|off}] string] parameter/c  implement   string   The specified command, and then stop.  /k  implement   string   The specified command and continue.  /s  Modify at  / c […]

  • Executing conditional processing in batch bat program


    The following code is used   if  /? >>  C:\help.txt   Generated.—————————————————————– Performs conditional processing in a batch program. IF [NOT] ERRORLEVEL number command IF [NOT] string1==string2 command IF [NOT] EXIST filename command NOT                 Specifies that only if   false   In this case,   Windows   XP   just                     The command should be executed. ERRORLEVEL   number   If the last running program returns a […]

  • Instructions for using the CMD batch goto call command


    How to use the first batch goto commandtake   cmd.exe   Direct to the labeled line in the batch program. GOTO label    label     Specifies the text string used as a label in the batch program. The label must be on a single line and begin with a colon. If command extension is enabled, goto […]

  • Do all in CMD shell


    file transferCMD for overflow vulnerability   Shell, the biggest problem is how to upload files. Due to the prevalence of worms, the 139 or 445 ports needed to connect IPC $are blocked. In addition, WinXP system strengthens the protection of IPC $, and the method of uploading files through IPC $and default sharing is basically […]

  • Improved code of CMD recorder


    install   Save the code as cmd.bat   Put system32 under   Add cmd.exe   Copy is cmd.gif  registry   add to  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe  string   Debugger  String content   cmd.gif  / c   cmd.bat   Copy codeThe code is as follows: @echo off  title %ComSpec%  rem   CMD   Recorder   Improved version  rem   original author […]

  • The classic use skills of emeditor and DOS (CMD): generating web pages in batches


    Index. HTML @ home pageYhtc.html @ special packageYmzc. HTML @ domain name registrationXnzj. HTML @ virtual hostFwqtg. HTML @ server hostingFwqzy. HTML @ server rentalWzjs.html @ website constructionQyyj. HTML @ enterprise post officeDbicp.html @ agency ICPFkfs. HTML @ payment methodGywm. HTML @ about usGsry.html @ company honorsBzzx. HTML @ Help CenterGdjg. HTML @ local institutionsFWJG. […]

  • The concept of CMD code page and how to use its set value


    Chcp Displays the number of the active console code page, or changes the console’s active console code page. Used without parameters, chcp displays the number of the active console code page. Syntax chcp [nnn] Parameters nnn : Specifies the code page. The following table lists each code page supported and its country/region or language: Code […]

  • The use of pushd and POPD command in CMD


    Pushd commandSave the current directory for POPD command, and then change to the specified directory. PUSHD [path | ..] Path specifies the directory to be the current directory. If command extension is enabled, pushd is used in addition to the general drive letter and pathThe command also accepts network paths. If a network path is […]

  • Refer to page 1 / 2 for the function of symbols under super detailed CMD DOS


    1、 Single symbol~① In for, it means to use enhanced variable extension.② In% var: ~ n, M%, represents a string that uses the extended environment variable to specify the location.③ In set / A, it represents a unary operator and negates the operands bit by bit. !① In set / A, the unary operator represents […]

  • Explain the dockerfile to create a custom docker image and the comparison between CMD and entrypoint instructions


    1. Overview There are three ways to create a docker image Docker commit command: the image is generated by the container; Dockerfile file + docker build command; Import: OpenVZ template from local file system. For a general description of these three methods, please refer to yeasy / docker_ Create an image of practice. Recently, I […]

  • The CMD fsutil command creates a new empty text file


    Help content for fsutil /Behavior controls file system behaviorDirty manages the number of corrupted bits of the volumeFile file specific commandsFSInfo file system informationHard link managementObjectid object ID managementQuota managementReparsepoint reanalysis point managementSparse file controlUSN USN managementVolume management Help content for fsutil file /—-Supported file commands—- Findbysid finds the file based on the security identifierQueryallocranges […]

  • Managing windows system process with CMD tasklist and tskill


    Command:Tasklist Function: the command is used to display all processes running on the local or remote computer, and can monitor the user’s operation. Command format:   Tasklist [/S system [/U username [/P [password]]]] [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH] Parameter meaning / s system specifies the remote system to connect to. […]