Snacfg SFFolder

Purpose\ Allows you to view, add, delete, or modify SF Folders. This command can also be used to add a Shared Folder, though SNA Server Manager is the recommended interface for adding shared folders. Syntax snacfg [#configpath] SFFOLDER / list
SNACFG [#configpath] sffolder sffoldername
snacfg [#configpath] sffolder sffoldername /print
snacfg [#configpath] sffolder sffoldername /add [options]
snacfg [#configpath] sffolder sffoldername [options]
snacfg [#configpath] sffolder sffoldername /delete
 
#configpath
Specifies the path of the configuration file to view or change. If the configuration path is omitted, SNA Server will attempt to access the configuration file on the local system, using the path \SNAServerRoot\SYSTEM\CONFIG\COM.CFG, where SNAServerRoot is the SNA Server root directory.
/list
Generates a list of the shared folders on the AS/400 computer.
sffoldername
Specifies the folder name. Can be preceded by [servername: [sharename]].
/print
Displays a list of the configuration settings of a print session. The displayed command does not contain the word snacfg so that it can be redirected to a command file. Command files are discussed earlier in this chapter.
/add
Adds a shared folder called sffoldername. For adding a shared folder, the recommended method is to use SNA Server Manager, not snacfg sffolder.
/delete
Deletes sffoldername.
Options for Shared Folders AS/400 Computers
 
/comment:"text"
Adds an optional comment for the specified server. The comment can contain as many as 25 characters; enclose the comments in quotes.
/host:hostname
Assigns the folder to the named host (SFAS400 or remote APPC LU).
/drive:driveletter
Assigns the specified drive letter to the folder.
/share:sharename
Assigned the specified NT network share name to the folder.
/permanent: { yes | no }
If set to Yes, the share is restored each time the computer is restarted.