RADE

Source Code Manager

adl_mk_type

Creating file types

Quick Reference

Abstract

The adl_mk_type command creates new file types known by SCM.


Synopsis

adl_mk_type file_type -text | -bin -exec | -not_exec [-h | -help | -?]

Usage

SCM associates an object type with each file given as parameter of the [1] adl_mk_elem command. If this command fails, use the [2] adl_ls_type command to known all the available types (suffixes of the files) known by SCM and their characteristics (binary file or text file, executable file or not executable file).

If  you have to create a new file type, use the adl_mk_type command. This command is an administrator command. SCM users can't create their own file's types.

The information you have to give are:

[Top]

Options

adl_mk_type accepts the following options:
 
 

-h|-help|-? Help of the command
file_type Name of the file type to create
-text New type content will be a text type
-bin New type content will be a binary type
-exec New type file will be an executable one
-not_exec New type file will be a not executable one

Examples

Create a binary executable file type:

adl_mk_type NewFileType -bin -exec

 

Create a binary not executable file type:

adl_mk_type NewFileType -bin -not_exec

 

Create a text not executable file type:

adl_mk_type NewFileType -text -not_exec

[Top]


References

[1]
[2]
adl_mk_elem:  Creating an object
adl_ls_type: Listing file's types

[Top]


History

Version: 1 [Apr 2001] Document created

[Top]


Copyright © 2001, Dassault Systèmes. All rights reserved.