i am trying to come up with a program that does the following
- prints the word 'commands', followed by cursor
- lists all files in the A:\ directorywhen user enters 'dir'
- reads in a filename (from the list) from the user
- transfers the file (between 2 pcs) via the serial port
- lights up a LED each time a char is sent or received
as of now i am stuck at 2. i do not know how i can list all the files in the A:\ drive.
can someone help me with that?
i am using assembly language assembled by tasm.
thank you for any help.
Use the FindFirstFile/FindNextFile methods.