CHDIR

Examples

The following example sho ws the command en try to change to the directory dir1 in the MYGRP group in the MYACCT account.

d

CHDIR /MYACCT/MYGRP/dir1

 

a

 

 

 

c

 

 

 

b

 

 

 

The following example sho ws the command en try to change to the MPE group level (AGROUP ) in the MYACCT account.

d

 

a

CHDIR /MYACCT/AGROUP

 

 

c

 

b

 

The following example sho ws the command en try to change to a directory

named My_dir . In this example,

My_dir is a relative pathname, that is, relative

to the current working directory (CWD).

d

 

a

CHDIR ./My_dir

 

 

c

 

b

 

The following example sho ws the command en try to change to a directory named john, in the group JONES, in the account MYACCT , by specifying the full pathname.

d

CHDIR /MYACCT/JONES/john

 

a

 

 

 

c

 

 

 

b

 

 

 

2-44 MPE/iX Commands