Jump to content


file transfer in assembly language via serial port


1 reply to this topic

#1 stonecarvings

    New Member

  • Members
  • Pip
  • 1 posts

Posted 15 October 2004 - 11:23 AM

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:\ directory when 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.

#2 Mihail121

    Senior Member

  • Members
  • PipPipPipPip
  • 1059 posts

Posted 15 October 2004 - 02:55 PM

Use the FindFirstFile/FindNextFile methods.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users