Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Local system account and usernames 1

Status
Not open for further replies.

christhedonstar

Programmer
Apr 9, 2007
215
GB
Hi,

I have an account whereby if I run set on the command prompt I get back a APPDATA = C:\Documents and Settings\myUserdId\Application Data

My application writes to this directory happily.

However when the app runs under local system account it fails. Where is APPDATA for local system account?

Thanks,

Chris
 
Have you set APPDATA as a System Variable and not a User Variable? Check in System Properties / Advanced / Environment Variables

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
I asked someone to try it and they said it worked. Thanks was obvious once you said it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top