Hi Glenn.
I was looking for the c# code rather than VFP
Regards,
Gerard
>These values can be obtained in several ways. Here are 3 methods:
>
>lcCurrentDrive = sys(5)
>lcCurrentDir = curdir()
>
>lcCurrentDir = sys(2003)
>
>lcCurDriveAnddir = Fullpath('.')
>
>
>Glenn
>
>
>>Hi.
>>Is there a way to find the default drive and folder ?
>>
>>(I have code in a few places and am not sure where its putting files
>>( e.g. if I use the StreamWriter clas to Create a text file called :
>> Temp.txt without a Drive or folder, It does not seem to create it
>> in the default folder )
>>
>>Regards,
>>
>>Gerard