[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SEC : U Re: Directory separators





Ben Tupper wrote:
> 
> Howdy,
> 
> I have been using the following function to select the appropriate OS
> specific directory separator.  I have two questions about it: (1) what
> is the correct directory separator in VMS?, and (2) is there a built-in
> means of getting the same information?
> 

 What about issuing commands like :-

	$Show Logical IDL_DIR
	"IDL_DIR" = "DSA811:[IDLv54.]"

	or

	$Show Logical IDL_EXE
	"IDL_EXE" = "IDL_DIR:[BIN.BIN_ALPHA]IDL.EXE"

	or 

	print,!Path or 

	dirs = Expand_path(!Path,/Array)

	
 That should provide sufficient examples... 	
	
	
 ---------------------------------------------------------------------
 Andrew D. Cool                                 .->-.
 Electromagnetics & Propagation Group           `-<-'
 Surveillance Systems Division               Transmitted on
 Defence Science & Technology Organisation   100% recycled
 PO Box 1500, Salisbury                        electrons
 South Australia 5108
 
 Phone : 061 8 8259 5740     Fax : 061 8 8259 6673
 Email  : andrew.cool@dsto.defence.gov.au
 ---------------------------------------------------------------------