1211
Very useful tip (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] Octopus1348@thelemmy.club 1 points 11 months 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 4 points 11 months ago

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

[-] Natanael@slrpnk.net 3 points 11 months 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

this post was submitted on 12 Oct 2023
1211 points (94.6% liked)

linuxmemes

20707 readers
1417 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS