reading Desktop and/or My computer

Miscellaneous Forums/Win32 Discussion/reading Desktop and/or My computer

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

With BMax...
Local homePath$ = getenv_("HOMEDRIVE") + getenv_("HOMEPATH")
Local desktopPath$
If homePath$ Then desktopPath$ = homePath$ + "\desktop"

Print homePath$
Print desktopPath$
...should give you the path to your desktop.



MyComputer isn't a real folder (AFAIK) and can't be accessed as one. I believe there's an API call to return the current drives available, if that's what you're after?