Solaris PC NetLink 1.0 Administration Guide

Typing Path Names With Solaris System net Commands

The Solaris system uses a forward slash to separate names in a path. This is different from client computers, which use backslashes. Note, however, that the great majority of commands will work with either forward or backward slashes.

When typing path names at a Solaris system command prompt, you can use any of the following methods:

net share tmpshare=c:/tmp /us:10 /r:"Share for temporary use"

net share tmpshare=c:\\tmp /us:10 /r:"Share for temporary use"

net share 'tmpshare=c:\tmp' r:"Share for temporary use"

When including spaces in values, you may want to enclose the value in double quotation marks. For example, to change the comment for the domain guests group, you would type the following command:

net group "domain guests" /comment: "All domain guests"