G
Guest
I am sure this is a basic question. Why does the code below return the
following (i.e. without the full path descriptions)
string Temp = System.IO.Path.GetTempPath();
returns "C:\DOCUME~1\tobrien\LOCALS~1\Temp\"
instead of "C:\Documents and Settings\tobrien\Local Settings\Temp". Which
is returned if I browse for the Temp folder using Browse for Folder Dialog.
I want to ensure users do not choose their Temp folder for a backup
operation. Any insight into this issue is appreciated.
Thanks.
following (i.e. without the full path descriptions)
string Temp = System.IO.Path.GetTempPath();
returns "C:\DOCUME~1\tobrien\LOCALS~1\Temp\"
instead of "C:\Documents and Settings\tobrien\Local Settings\Temp". Which
is returned if I browse for the Temp folder using Browse for Folder Dialog.
I want to ensure users do not choose their Temp folder for a backup
operation. Any insight into this issue is appreciated.
Thanks.