| View previous topic :: View next topic |
| Author |
Message |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Jan 24, 2005 12:16 pm Post subject: xp pro file attribute problems |
|
|
hi,
i have a problem with one of my programs that only comes up under xp pro, the program runs fine under xp home edition but users using it under xp pro report an error
my question is this: the program uses a data file saved as a hidden and system file and data is regularly added to that file
if someone uses xp pro and knows the answer, could you let me know if updating a hidden system file under xp pro is a problem as it most certainly is not under xp home edition
thanks in advance
serge _________________
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Jan 24, 2005 1:27 pm Post subject: |
|
|
I don't know as I've never tried that. I don't think file attributes should cause a problem, as I don't think they work any different under XP Pro than anything else.
What you might be seeing is a problem caused by file access permissions to the file concerned, because the program is not being run by an administrative level user. You can test this by setting up a test user with no special privileges on your own system.
Under XP, a user normally only has write access to folders under \Documents and Settings\<username>. To allow non-administartive users to write to files elsewhere in the file system, I have had to require that programs are installed by the administartor, and run the command line tool CACLS as part of the set-up process to give files and folders the required access permissions. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Jan 25, 2005 8:43 am Post subject: |
|
|
thanks for your reply jules
serge _________________
|
|
| Back to top |
|
 |
|