Can I set permissions on a file using a script?

From: Ajay (Please)
Date: 07/03/02


From: "Ajay" <Please Post Reply to Group>
Date: Wed, 3 Jul 2002 08:48:20 -0700


System: Windows XP with NTFS.

My Problem: Due to a bug in MS Money 2000 (that I have reported), everytime
I close Money and it compacts the data file the permissions on the file are
changed so that only the Administrator and the current user can access it.
This means that other computers on my home network running Win98 get a
permission denied message when they try to access it. The person trying
access the file then has to come to the WinXP machine and manually change
the permissions to give "Everyone" access.

I would like to know if there is script command I can use to set the
permissions so we can just double-click an icon on the WinXP desktop. Or
better yet, a way to disable permissions completely on a file or folder so
this isn't an issue.



Relevant Pages

  • Re: Spotlight on Word problems
    ... Elliott is probably on the money. ... I bet your Word 6 files were put on a CD or some other read-only media and at that point the permissions on ... Use Finder's GetInfo command and see what the permissions are set to and change them so that you can both read and write to those files. ... The new file is then indexed quite happily by Spotlight, but the information about its original creation date has, of course, gone. ...
    (microsoft.public.mac.office.word)
  • Re: Can I set permissions on a file using a script?
    ... > everytime I close Money and it compacts the data file the permissions ... > machine and manually change the permissions to give "Everyone" access. ... Now everytime the file is re-created, ... If you are one of them, complain to my Administrator! ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Error convert applying security template
    ... > How did you try to change permissions? ... Did you manually change ... > template into Domain Controller Security policy or another GPO?? ...
    (microsoft.public.win2000.security)
  • Need expert help with file sharing curiosity on home network
    ... Some of the files in this folder share no problem. ... manually change the permissions of the files that will not share to match the ... permissions of the files that will share, and then the problem is solved. ... new files are added to the shared folder, so will share automatically, whereas ...
    (microsoft.public.windowsxp.network_web)
  • Registry Key Permissions
    ... I store some application settings in the registry under ... I want to allow full access to this key and subkeys. ... I manually change the permissions on the keys. ...
    (microsoft.public.dotnet.languages.vb)