Avoid Truncated Directory Names

Novell Cool Solutions: Tip
By John Mes

Digg This - Slashdot This

Posted: 22 Aug 2003

Setting up users from a workstation and creating long directory names in their home directory using the user template's setup script attribute always results in a truncated directory name.

SOLUTION: Use "cmd" to call the command interpreter instead of "command" as shown in scripting documentation.

EXAMPLE: The template setup scripts wind up looking like:

- # map root t:=fs1/data:homes\staff\%login_name
- # cmd /c md t:public_html
- # cmd /c fs1/sys:public\bats\login\folders.bat

where 'folders.bat' creates subfolders and copies files common to all users.

If you have any questions you may contact John at jkm@arn.net

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© Micro Focus