Thanks again for the help
I have a few questions,because even though everything is working,i have no clue as to why it works.
Firstly,when i use the puppy live cd it finds the Windows pc,but i checked the puppy etc/hosts file and it does not have the Windows pc name added.So the question is: How did the pNethood software of puppy find it (jm-pc)?
Secondly,i added a user with smbpasswd but smbmount does not work and keeps failing with a password error.There was also a message "Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)".smbclient also fails.
So i tried this mount command and it worked.
mount -t smbfs -o username=jcmahne,password=jcmahne //jm-pc/temp /home/windows.