WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   file berechtigungen (http://www.wcm.at/forum/showthread.php?t=32708)

chrisne 10.10.2001 17:00

file berechtigungen
 
hi,

mit welcher programmiersprache kann ich am einfachsten file berechtigungen setzten und auslesen ???

danke
chris

pong 10.10.2001 17:11

unter welchem os?

chrisne 10.10.2001 17:15

ups vergessen.
unter windows nt 4.0 sp 5 und 6


chris

James020 10.10.2001 20:23

Also wenn du nicht gerade NTFS hast (FAT), dann müsste das doch in irgend einer Log File stehen oder?

_m3 11.10.2001 02:01

XCACLS
 
Xcacls.exe (aus dem Ressource Kit)
This utility is similar to Rntshare.exe in that it deals with users, groups and permissions but does so for files and folders rather than shares. Obviously, under Windows NT, to set up permissions on files and folders the drives on which they reside need to be formatted using NTFS, as shown in Figure C. Not to worry though, if you're using the FAT file system on your drives, you can always run a utility called Convert.exe that comes standard with Windows NT. However, make sure to read the documentation for the utility before running it to get a clear picture of what's happening.
http://msdn.microsoft.com/library/de.../html/ewnt.asp

Wenn Du wirklich ein Tool schreiben willst: mit jeder Programmiersprache, die ein API zum Windows-Filesystem zur Verfügung stellt (C, C++, VB, VBA, Delphi, SmallTalk, Perl, Tcl, Python, ...).


Alle Zeitangaben in WEZ +2. Es ist jetzt 12:36 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag