Autor Beitrag
Nomak
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18


D6Ent, D7Ent
BeitragVerfasst: Di 28.06.05 20:03 
Hallo,

ich möchte mit einem Windows Dienst Netzlaufwerke auf ausreichen freien Speicherplatz überprüfen. Wenn ich
"DiskFree" im Dienst verwende bekomme ich als Rückgabewert jedoch immer -1. Wenn das ganze als Anwendung läuft
klappt alles Problemlos. Danke für Eure Hilfe.

_________________
Nomak
rochus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416

Win XP Prof, Fedora Core 4, SuSE 7.0
D7 Ent, D2005 Pers
BeitragVerfasst: Di 28.06.05 21:16 
Hi.
Ich weiß nicht, inwiefern DiskFree Netzwerkfähig ist, aber versuch mal, einen UNC Pfad anzugeben. Sollte auch das nicht funktionieren (was ich annehme), dann kannst du mal versuchen, per Remote WMI die Daten zu ermitteln. Hast du dabei Zugriff auf den Rechner (dein Dienst muss als Netzwerk Administrator gestartet werden), geht das auf jeden Fall.

Gruß
Nicolai
Nomak Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18


D6Ent, D7Ent
BeitragVerfasst: Mi 29.06.05 09:18 
Danke für den Tipp. Werd ich gleich mal ausprobieren.

_________________
Nomak