How do I find the current users desktop directory?

Blitz3D Forums/Blitz3D Programming/How do I find the current users desktop directory?

You can use getenv to find it.


path1$=GetEnv$("userprofile")
desktop$=path1$+"\Desktop"
Print desktop

WaitKey()
End