Hi,
Can somebody confirm whether lIsDir() or IsDirectory() can accept path in UNC format or not?
My test seems to show that they can't.
TIA
Testing path existence using UNC format
- nageswaragunupudi
- Posts: 10733
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 11 times
- Contact:
Re: Testing path existence using UNC format
Both accept UNC path.
When we use IisDir(), trailing slash is optional.
For ISDIRECTORY(), trailing slash should be removed.
I am answering this after testing once again now.
When we use IisDir(), trailing slash is optional.
For ISDIRECTORY(), trailing slash should be removed.
I am answering this after testing once again now.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Testing path existence using UNC format
Thank you for your quick response Rao.
I'll retest again. I'm using the UNC that points to a NAS, \\basstation
I wonder whether read/write access could affect the result.
I'll retest again. I'm using the UNC that points to a NAS, \\basstation
I wonder whether read/write access could affect the result.
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour