• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 586
  • Last Modified:

How to use VB 6.0 to set folder and file permissions?

How do I use VB to set folder and file permissions on Windows 2000.
0
Tsai
Asked:
Tsai
  • 2
  • 2
1 Solution
 
TsaiAuthor Commented:
Thank you very much. It works great.
0
 
TsaiAuthor Commented:
I gave you grade B because iIt would be even better if you have showed me the VB code of how to use this tool. Anyways, I found the way to implemet it in VB. Thanx for the site.
0
 
EDDYKTCommented:
You should ask before you grade it. Anyways

Shell Environ("comspec") & " /c xcacls " & Chr(34) & "c:\temp" & Chr$(34) & " /T /Y /P everyone:F", vbHide + vbMinimizedNoFocus
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now