• Octopus
    link
    fedilink
    12 years 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”

    • @tslnox@reddthat.com
      link
      fedilink
      42 years ago

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

      • Natanael
        link
        fedilink
        32 years 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