subject: (Fwd) RE: query: command-line window management
posted: Tue, 5 Feb 2002 06:55:54 -0000


Cheers David,

I hadn't seen that, its cool, and it's close -- but what about *existing* processes? :-)

Stuart

------- Forwarded message follows -------
Send reply to: <[email protected]>
From: "David Sauzier" <[email protected]>
To: <[email protected]>
Subject: RE: query: command-line window management
Date sent: Mon, 4 Feb 2002 22:13:31 +0800
Organization: DAS Computers

Try "start.exe /?" should be all you need.

Dave

-----Original Message-----
From: lsi [mailto:[email protected]]
Sent: Monday, 4 February 2002 7:09 PM
To: [email protected]
Subject: query: command-line window management

hi folks,

anyone got any tips on how to:

1. maximise and minimise a window from the command prompt
2. foreground and background a window from the command prompt
3. get a process listing from the command prompt (equiv of unix 'ps'
command - I have some third-party
ones, but I was hoping for a Microsoft EXE that did it)
4. restart the machine from the command prompt (equiv of selecting
'restart' from shutdown menu)

It's possible to shutdown the machine from the command prompt using the
following syntax, but that's not
quite the same thing:

RUNDLL32 USER.EXE,ExitWindows

This one logs off the current user:

RUNDLL32 USER32.DLL,ExitWindowsEx

Cheers
Stuart
---
* Origin: [adminz] tech, security, support (192.168.0.2)

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.314 / Virus Database: 175 - Release Date: 11/01/2002


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.314 / Virus Database: 175 - Release Date: 11/01/2002

------- End of forwarded message -------

generated by msg2page 0.06 on Jul 21, 2006 at 19:04:41

 search: