Try GETENV('windir') - I am not sure whether it works in FPD.
>yes, I write that.
>but I want to say with system -> the windows system directory
>and I want to try with some commands like sys
>Its possible to try that
>
>if file('windows\system\file.dbf')=.t.
>
>In VFP the setup wizard put the file in winsystems directory but in FPD I dont know how to do that. except the manual way.
>I want that for protection of program, you have some ideeas for that ?