Autor Beitrag
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Di 19.04.05 17:38 
Wieso unbedingt der Umweg über die Batch-Datei? Was spricht gegen ShellExecute?
Die Batch-Datei macht auch nichts anderes als net.exe aufrufen.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Di 19.04.05 18:10 
Ich vermute, dass hedie "DOS"-Befehle einfach in ein Delphi-Programm eintippen möchte, wie einen Prozedur-Aufruf. Das geht nicht. Es gibt für einige Dinge äquivalente Prozeduren und Funktionen, aber nicht für alles.