Command XCOPY assembly codes

I'm a new assembly student and have homework that an assembly program that does what XCOPY command in DOS does. I've no idea about that.
Homework is MS-DOS commads and may part is XCOPY.
Thanks for help.
[233 byte] By [cengserkan] at [2007-11-20 7:38:43]
# 1 Re: Command XCOPY assembly codes
Look at the help functions for xcopy to get a list of the switches, then start working on a parser.

Here is the brief version:

Copies files and directory trees.

XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
[/EXCLUDE:file1[+file2][+file3]...]
TheCPUWizard at 2007-11-10 3:55:18 >
# 2 Re: Command XCOPY assembly codes
Thanks for your kindness but I do know how to look help files of xcopy. On the other hand I only know 80x86 instruction set usage. I don't know waht to do.
cengserkan at 2007-11-10 3:56:11 >
# 3 Re: Command XCOPY assembly codes
Thanks for your kindness but I do know how to look help files of xcopy. On the other hand I only know 80x86 instruction set usage. I don't know waht to do.

1) Help (for any DOS command) can be invoked by typing " /?" after the command from a C:> prompt

2) You need to break down the design into functionall areas. ...

How are you going to parse the command line?
What structures are you going to use to contain the options?
How will the options effect the copy operations?
How will you copy a single file (given source and destination)?
How will you select which files you are going to copy?
How will you transverse the directory structure?

For each of these, WRITE out the details. Then start to make flow diagrams. Try to keep things as modular as possible so you can perform incremental unit testing of each piece.

Figure that the resultant program will be at least 8,000-10,000 lines of code, not counting comments and blank lines. Larger if your code is not as efficient as the Microsoft implementation.

You really need to break something like this down....

PS: I am really suprised that this is a homework assignment. I would expect it to be more of a team final project for a fairly senior assembly language course.....
TheCPUWizard at 2007-11-10 3:57:21 >