I'm using XP on Apple OS-X 10.4.10 without any problems.
I did not use the command-line.
Go to the system-folder "network-connections" (there are several ways to do that), in German "Netzwerkverbindungen". Right-click it. In the opening window, you will find "connect network-drive" ("Netzlaufwerk verbinden"). Click!
In the opening window you choose a drive-letter ("Laufwerksbuchstabe") and search for your shared folder (which must already exist!). Click!

I'm using XP on Apple OS-X 10.4.10 without any problems.
I did not use the command-line.
Go to the system-folder "network-connections" (there are several ways to do that), in German "Netzwerkverbindungen". Right-click it. In the opening window, you will find "connect network-drive" ("Netzlaufwerk verbinden"). Click!
In the opening window you choose a drive-letter ("Laufwerksbuchstabe") and search for your shared folder (which must already exist!). Click!