Mounting shared Windows folder using mount command not working
I am trying to mount a shared folder on a Windows XP machine to my Mac. Its a snap to use the finder GUI. However I need to use the mount command in a script file. This is the command I type in terminal:
mount -t smbfs //workshop2/ORE /volumes/ORE
I have created the directory /volumes/ORE with mkdir - OK.
After the mount command is entered I am prompted with a password. I enter the password and the response is:
mount_smbfs: mount error: /Volumes/ORE: Broken pipe
I have checked the availability of the shared folder with:
smbclient -L //workshop2/
ORE is listed under the Sharename heading.
If I use finder to mount the shared folder and then type mount to list the file systems, ORE is mounted to /volumes/ORE-1:
//GUEST:@workshop2:139/ORE on /Volumes/ORE-1 (smbfs, nodev, nosuid, mounted by Jeff)
How do I get the mount command by itself to do this?
Jeff.
MacBook, Mac OS X (10.5.8)