file_expand_path [message #51899] |
Tue, 12 December 2006 15:37 |
damonanomad
Messages: 2 Registered: December 2006
|
Junior Member |
|
|
Hello,
I am trying to to use IDL and have run into some a strange behavior
in 6.2 using file_expand_path. The following lines illustrate what I
am seeing:
IDL> file_a=file_expand_path('full28field.table')
IDL> print, file_a
C:\DocSet\MyDoc\IDL\working\full28field.table
IDL> print, file_test(file_a)
0
IDL> file_b='C:\DocSet\MyDoc\IDL\working\FieldInfo\full28field.ta ble'
IDL> print, file_test(file_b)
1
As can be seen above, the path that it is returning is not the true
path of the file but I don't know why it isn't. The search path that I
have set in "Preferences" (in addition to default) is
'C:\DocSet\MyDoc\IDL' and its sub-directories. (note that
'\DocSet\MyDoc' = '\Documents and Settings\user\My Documents' in
reality)
Any ideas out there why I am running into this problem? Suggestions
would be greatly appreciated.
Thanks,
Damon
|
|
|