News for hackers. Stuff that matters.

Built a custom CMD that loads commands at runtime using dynamic linking

In my second semester, I built this CMD out of curiosity about how a CMD can add new commands without recompiling. I used the OS’s dynamic linking mechanism to load new commands at runtime without recompiling the code.

Note: windows only

URL: https://github.com/sahilPadmani/Custom_CMD

( 2 comments | 4 points | on HN )
Re:Built a custom CMD that loads commands at runtime using d... by shrianshag on Wednesday May 27, 2026 @10:34AM (#48295037)
Beyond curiosity, do you see practical use cases for this dynamic command-loading pattern?
Re:Built a custom CMD that loads commands at runtime using d... by nextma on Wednesday May 27, 2026 @10:40AM (#48295137)
for me it is for knowledge.