Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Please test this restart windows code

Author
Message
The Fire Within
20
Years of Service
User Offline
Joined: 1st Apr 2004
Location: localhost (127.0.0.1)
Posted: 25th Apr 2004 22:32 Edited at: 25th Apr 2004 22:35
Could someone pls test this code and post a message if it worked. (win95 - 98 - me - 2000 - xp). Program restarts windows immediatly so save all your work. It is written in dbpro.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Apr 2004 22:44
lol, i'll let someone else test it.

"eureka" - Archimedes
DarkPhear
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Brazil
Posted: 27th Apr 2004 05:24
Didn't work for me (Windows 98). It says:
RUNDLL - USER.EXE error : missing entry

Cleber de Mattos Casali, game programmer.
DarkPhear is a full freeware RPG developed by me. You can download it and some game demos for free at my page: http://darkphear.cjb.net
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 1st May 2004 19:11
Why aren't you testing it The Fire Within??
The Fire Within
20
Years of Service
User Offline
Joined: 1st Apr 2004
Location: localhost (127.0.0.1)
Posted: 2nd May 2004 13:53
Have tested it and worked fine, but i have winxp pro and wanted to know if it worked under win95 98 2000 and ME
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 2nd May 2004 21:51
Hey, Fire want to test my new virus? Didn't think so. What's the point of having code the restart windows anyways?

There 10 kinds of people, those who understand binary and those who don't
kkzgreen
20
Years of Service
User Offline
Joined: 12th Apr 2004
Location: Nashville, TN
Posted: 3rd May 2004 03:04
didnt work
i've got XP but all it did was close all application including my connecion(LAN) somehow.
The Fire Within
20
Years of Service
User Offline
Joined: 1st Apr 2004
Location: localhost (127.0.0.1)
Posted: 3rd May 2004 14:39
The code is for my installation engine made with dbpro...
After an installation a computer sometimes has to be rebooted... So thats why i need it. BTW It will work under winxp, if you have only the program running.
Dark Wolf
21
Years of Service
User Offline
Joined: 21st Apr 2003
Location: Shadows
Posted: 4th May 2004 02:46
well if your not sure theres some installations programs out there that do all that for you and they acutally ask the user if they wish to restart their comps on yours it dosent do anything other than show an error on my comp and I also have win xp

A hero is no braver than an ordinary man until he meets a pack of wolfs
Emperor Baal
20
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 4th May 2004 18:17 Edited at: 4th May 2004 18:20
I think windows xp doesnt like programs trying to shutdown/reboot the pc.

You could try this though

Execute File "shutdown", "-i -s -f -t 01", "" : End

This will jump back to windows, displaying the GUI (-i), then it will force all programs to shutdown (-f), then it will shutdown in 1 second (-s -t 01).

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
DK_
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 16th May 2004 01:31 Edited at: 16th May 2004 01:33
LOL that's cool.

You don't actually have to restart your comp. just do what Emperor Baal said and then in the Gui type in like 200 seconds so you can see that it's shuting down. Then to cancel it just open command prompt and type "shutdown -a"

It's fun to make the time until shutdown shorter and see if you can abort it in time.

DaedalusX
20
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 7th Jun 2004 18:08
that was fun lol. i made a virus deletes C:\ folder or whtever u specify of cors im never going to release it but i just wanted to see if it could be done - was very easy lol
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 7th Jun 2004 19:13
Quote: "Hey, Fire want to test my new virus? Didn't think so. What's the point of having code the restart windows anyways?"

oh you and your virus, i nearly died luaghing.

I don't play games ... I make them. So play them yourself...
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 7th Jun 2004 19:15
and for a setup engine goto www.clickteam.com and downloaod setup creator freeware.

I don't play games ... I make them. So play them yourself...
Lord Ultemalech
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location:
Posted: 20th Jun 2004 14:03
A virus ,Simple

Just need a prog that copys itself to startup
then runs shutdown.exe -s

Ive never tested it

Anyone Dumb enogh to test it for me
Icq me it you want

Login to post a reply

Server time is: 2024-11-23 21:54:03
Your offset time is: 2024-11-23 21:54:03