Re: Running Windows commands in Delphi

Posted by Jenny on August 24, 2006

In Reply to Running Windows commands posted by Leigh Hill on August 19, 2006

: I want to run the following command to log a user off a Terminal Services session once they have finished running my app. "%windir%\system32\cmd.exe /clogoff"
: Any ideas how I do this?

You could try ShellExecute. I saw lots of related info in this forum and in other articles on this site, try the Search function in the navigation :)

Good luck!
Jenny

Related Articles and Replies