how to delete a file based on users input
-
- Posts: 6
- Joined: Thu Nov 30, 2023 12:52 am
how to delete a file based on users input
I want to make a very simple like a disk util or file manager in basic for the commander but how do open a file and delete it with the file name that the user typed in I know you can delete files with open15,8,15,"s:filename":close1
Re: how to delete a file based on users input
10 PRINT "FILENAME";
20 INPUT A$
30 DOS "S:"+A$
20 INPUT A$
30 DOS "S:"+A$
-
- Posts: 6
- Joined: Thu Nov 30, 2023 12:52 am
Re: how to delete a file based on users input
Thanks, I kinda figured it was that oof do I feel silly