• Octopus
    link
    fedilink
    11 year ago

    I made a Batch uninstaller (to one of my other bat scripts I think), and it could remove itself without any problem just with the command “del whateverthenamewas.bat”

    • @[email protected]
      link
      fedilink
      41 year ago

      Yeah, because the bat file isn’t actually running, it’s just a list of commands cmd should execute.

      • Natanael
        link
        fedilink
        31 year ago

        Yup, CMD acts as a parser / runtime and the process is bound to the CMD binary, the script file is being run by CMD which keeps a copy of it in its own working memory in RAM