Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtofile returns 135 but nothing gets written
Message
From
10/02/2016 02:46:32
 
 
To
10/02/2016 01:50:44
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01631161
Message ID:
01631177
Views:
56
>To put it in simple terms. %programdata% is read only for users for decades.
>It is stated that it does not require elevated privileges - what only means a admin can write to it without extra dialouge.
>You can use your installer to create a folder with permissions if you realy need this.
>
>The file should end up in some roaming folder. I'm no expert in this folders (It's Redmond idiotic - one can write or not). But simply give it a unique name and search your whole comp for the file.
>There should be some environment variable or a reg key that gives you the path to the roaming (don't trust hard coded here). Google will be your friend.

Just type SET at a CMD prompt; APPDATA and (IMO even better) LOCALAPPDATA should be available environment variables.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform