Home »
Public Forums »
archive »
SEC : U Re: Directory separators
SEC : U Re: Directory separators [message #23742] |
Wed, 14 February 2001 15:08 |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
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
------------------------------------------------------------ ---------
|
|
|
Current Time: Fri Oct 10 02:42:57 PDT 2025
Total time taken to generate the page: 0.96149 seconds