LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Pathname for root directory

I want my application to archive data to a mapped network drive. I can copy
files to folders on this drive (G:\\datalog\\) but not to the drive alone.
Could someone please tell me what the synax is, I have tried G:\\ and G:
etc but 'invalid path error' is returned. Thanks in anticipation,
Tim
0 Kudos
Message 1 of 3
(3,293 Views)
Have you tried using the tcp/ip way: \\\

You're sure you have enough 'rights' to go to the root of G: ?


"Tim Hope" wrote:
>>I want my application to archive data to a mapped network drive. I can
copy>files to folders on this drive (G:\\datalog\\) but not to the drive
alone.> Could someone please tell me what the synax is, I have tried G:\\
and G:>etc but 'invalid path error' is returned. Thanks in anticipation,
>Tim
0 Kudos
Message 2 of 3
(3,293 Views)
I worked it out in the end by trial and error. It was not a question of rights
as it is the same on c drive.

The correct syntax is G:\\\\ silly eh?

Thankyou Han for your interest.
Cheers, Tim


"Han Stehmann" wrote:
>>Have you tried using the tcp/ip way: \\\
name>>>You're sure you have enough 'rights' to go to the root of G: ?>>>"Tim
Hope" wrote:>>>I want my application to archive data to
a mapped network drive. I can>copy>files to folders on this drive (G:\\datalog\\)
but not to the drive>alone.> Could someone please tell me what the synax
is, I have tried G:\\>and G:>etc but 'invalid path error' is returned. Thanks
in anticipation,>>Tim
0 Kudos
Message 3 of 3
(3,293 Views)