Rebooting Win2k with a batch or an exec

Hi, I wish to be able to reboot my PC by executing on it a batch or an executable. Is-it possible and in fact what must I put in my batch or what exec must I use? Thank you very much. Paddle...




Topic Options
#57707 - 04/08/01 01:30 AM Rebooting Win2k with a batch or an exec
paddle Offline
stranger

Registered: 04/08/01
Posts: 6
Hi,

I wish to be able to reboot my PC by executing on it a batch or an executable. Is-it possible and in fact what must I put in my batch or what exec must I use?
Thank you very much.

Paddle

Top
Advertisement
#57708 - 04/08/01 08:15 AM Re: Rebooting Win2k with a batch or an exec
DosFreak Offline
Carpal Tunnel

Registered: 02/04/00
Posts: 3870
Loc: Georgia
I have an executable that'll do it. You want it?

Top
#57709 - 04/08/01 08:23 AM Re: Rebooting Win2k with a batch or an exec
paddle Offline
stranger

Registered: 04/08/01
Posts: 6
Yes, of course.
Please send me it.
bulletin-board@paddle-coorp.yi.org

Thank you.

Top
#57710 - 04/09/01 07:40 PM Re: Rebooting Win2k with a batch or an exec
Igor Offline
enthusiast

Registered: 07/24/99
Posts: 382
Why don't you post the batch file here?

Top
#57711 - 04/09/01 09:24 PM Re: Rebooting Win2k with a batch or an exec
paddle Offline
stranger

Registered: 04/08/01
Posts: 6
For me, I don't have received it for now on...

Top
#57712 - 04/09/01 10:29 PM Re: Rebooting Win2k with a batch or an exec
bottleneck Offline
journeyman

Registered: 09/11/00
Posts: 97
This is the .vbs I use for restart:


set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "%{F4}r{ENTER}"


But I think it'll only work if you run it from the desktop.

Top
#57713 - 04/10/01 06:40 AM Re: Rebooting Win2k with a batch or an exec
paddle Offline
stranger

Registered: 04/08/01
Posts: 6
Yes, I think so too, cos it seems to send the Alt+F4 keys to close windows...
Or, I'm not always logged in a session...
But thank you for for the idea.

Top
#57714 - 04/10/01 11:19 AM Re: Rebooting Win2k with a batch or an exec
nagual Offline
enthusiast

Registered: 05/09/00
Posts: 221
www.sysinternals.com has a few utils called 'pstools' which i find very useful. amongst other things you can batch local or remote (same domain though) shutdowns and reboots

Top
#57715 - 04/10/01 12:52 PM Re: Rebooting Win2k with a batch or an exec
paddle Offline
stranger

Registered: 04/08/01
Posts: 6
Thank you.
This tool seems to fit my aim.
I'll try it this evening.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Carmageddon 2 weird
by Kuikie
Yesterday at 04:32 PM
Computer Repair Utility Kit
by gailerl
12/28/09 01:26 PM
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
Who's Online
2 Registered (jmmijo, Myke), 253 Guests and 36 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91424 Members
24 Forums
59371 Topics
189904 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22