Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving files on the desktop
Message
From
09/05/2008 02:58:01
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
09/05/2008 02:32:02
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01315523
Message ID:
01316023
Views:
20
Hi Neil,

Let me first give a "official" way to redirect desktop.
Do you know PowerToys from MS?

Update:
Choose Tweak UI
/Update:

Go to Node "/My Computer/Special Folders", the combobox "Folders" gives you a list of special folders, the button next to it will change the path.

The first reason to redirect is to move the whole user folder away from drive C:. This will make backup's much more efficient.
But this would keep Desktop inside userprofile.

Other reasons might be that you are serveral users on the same comp (Admin, User, Poweruser) for whaterver reason and like to have the same environment. An other might be that you like to have the same environment (or parts of it) on several comps. Or you like to have all userprofile but dektop and start on a server.

Agnes
>Agnes,
>Why would you redirect, and if so where to. And how would windows find its contents.
>
>>Neil,
>>
>>GETENV("USERPROFILE") + "\DESKTOP\"
>>
>>is only the "normal" location. One can redirect.
>>
>>Agnes
>>>Hi,
>>>A better way:
>>>
>>>lcFile="YourFile.doc"
>>>lnFileHandle=FCREATE(GETENV("USERPROFILE") + "\DESKTOP\" + lcFile,0)
>>>lnSuccess=FCLOSE(lnFileHandle)
>>>
>>>>
>>>>Thanks, Jill
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform