file transfer in assembly language via serial port

761998a16712959dac38e9509fe8a330
0
stonecarvings 101 Oct 15, 2004 at 11:23

i am trying to come up with a program that does the following

  1. prints the word ‘commands’, followed by cursor
  2. lists all files in the A:\ directorywhen user enters ‘dir’
  3. reads in a filename (from the list) from the user
  4. transfers the file (between 2 pcs) via the serial port
  5. 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.

1 Reply

Please log in or register to post a reply.

2b97deded6213469bcd87b65cce5d014
0
Mihail121 102 Oct 15, 2004 at 14:55

Use the FindFirstFile/FindNextFile methods.