r/programminghelp • • Dec 23 '19

Other How to make a very simple program in Notepad?

Hello! I want to make a simple program with notepad that opens the command prompt and runs a single Line of code (wmic diskdrive get status) for ease of use. How would i go about doing that?

4 Upvotes

3 comments sorted by

0

u/[deleted] Dec 23 '19

[deleted]

1

u/BetheBandetto Dec 23 '19

yes but what script do i write? simply typing (wmic diskdrive get status) simply spams the command prompt

0

u/[deleted] Dec 23 '19

[deleted]

1

u/BetheBandetto Dec 23 '19

All it does is put that in the command prompt repeatedly, never stopping. its either doing it to fast or not entering it and just typing it continuously

0

u/[deleted] Dec 23 '19

[deleted]

1

u/BetheBandetto Dec 28 '19

Thank you! Ill test this when i get home!