[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SEC : U Re: Directory separators
- Subject: SEC : U Re: Directory separators
- From: andrew cool <andrew.cool(at)dsto.defence.gov.au>
- Date: Thu, 15 Feb 2001 09:38:42 +1030
- Newsgroups: comp.lang.idl-pvwave
- Organization: Defence Science & Technology Organisation
- References: <3A894C6B.1D89547B@bigelow.org>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23533
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
 ---------------------------------------------------------------------