You can use Standard Additions’ command mount volume, using the following syntax:
mount volume "afp://192.168.200.1/" as user name "john" with password "doe"
--> or, more simple:
open location "afp://john:doe@192.168.200.1/"
You should also define which volume you wish mount of the machine “192.168.200.1”; simply append the volume you need to the server IP: “192.168.200.1/volume1”.
The syntax for the smb protocol or your iDisk is the same. Here, some more samples:
mount volume "smb://john:doe@192.168.200.1/volumeName"
mount volume "afp://john:doe@idisk.mac.com/john"
mount volume "thisOne" on server "Cool Server" in AppleTalk zone "*" as user name "john" with password "doe"
Some users have reported problems when using passwords longer than 8 characters and trying to connect from OS 9 to a OS X machine.