Page 1 of 1

how to delete a file based on users input

Posted: Fri Dec 01, 2023 12:28 am
by whitepaperkat
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

Posted: Fri Dec 01, 2023 1:00 am
by TomXP411
10 PRINT "FILENAME";
20 INPUT A$
30 DOS "S:"+A$

Re: how to delete a file based on users input

Posted: Fri Dec 01, 2023 1:21 am
by whitepaperkat
Thanks, I kinda figured it was that oof do I feel silly