Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Utilities Reference > Chapter 2 Workstation Utilities

CX

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Purpose

Use at a workstation to view or change your context, or to view containers and leaf objects in your tree structure.

Syntax

CX [new context] [/R] [/T | /CONT | /A] [/C]
[/?| /VER]

Parameter

Use to

(no parameter)

View the current context.

new context

Move to a new context or specify the context you want for an option.

/R

List containers at the root level, or change context in relation to the root.

/T

List containers below the current context or a specified context in a tree structure.

/CONT

List containers at the current context or a specified context in a vertical list with no structure.

/A

Include all objects at or below the context. Use with /T or /CONT.

/C

Scroll continuously through output.

/?

View online help. (Other parameters are ignored).

/VER

View the version number of the utility and the list of files it uses to execute. (Other parameters are ignored.)

Using CX

  • CX is similar to the DOS CD and DIR commands in that CX allows you to change contexts and view all objects below a given container.

  • To set your new context from the root

    • Place a period in front of the new context you type; or

    • Enter the proper number of trailing periods to reach the root level; or

    • Use the "Root" option.

  • CX doesn't recognize spaces in object names. If you have spaces in container names, put quotation marks around the names or use underscores (_) in place of the spaces.

    For example, for container CORPORATE ADMIN, type "Corporate Admin" or Corporate_Admin.

  • You might need to use CX before logging in to set your context to the same value as the name context specified in your NET.CFG file.

Examples

To

Type

Display the current context

CX

Back up one level in the Directory tree

CX .

From COMPANYB, move down two levels to make your context SYS.ENG.COMPANYB

CX SYS.ENG

Change your current context from TEST. COMPANYB.US to SYS.MKTG.COMPANYB.US

CX .SYS.MKTG.COMPANYB.US or CX . <Enter> CX SYSTEM

Change to the root when your context is TEST.COMPANYB

CX . . . or CX /R

Change complete context from TEST. COMPANYB to TEST.COMPANYA

CX .TEST.COMPANYA

Show all containers in the current context

CX /CONT

Additional Information

Topic

See

Context

"Context" in Concepts

Root object

"Root object" in Concepts

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.