CDROM-Guide forums

Go Back   CDROM-Guide forums > Main Forums > Open to All Computer Related Topics
FAQ Calendar Mark Forums Read
Open   CSec   Data   DevDrv   CoOp   Audio   CDRW   CDG   VCD   DVD   HD DVD   Mac   VGB   PS2   DC   Xbox  

Closed Thread
Thread Tools Display Modes
Old Nov 09, 2005, 06:19 PM
Nuttapper Nuttapper is offline
Join Date: Dec 2000
Location: Great Britain
Posts: 2,253

sponsored links

Can you solve this with a batch file execution gregoriev, it would need a program closing and then restarting, after deleting two files

I have on my desktop two files called shutdown.exe and shutdown1.exe. they were attempts to write a small script to shut down a PC running Xp Pro,

C:\WINDOWS\system32\shutdown.exe -t

C:\WINDOWS\system32\shutdown1.exe -t

because its a program Xp uses as part of it's loadup, the files cannot be deleted from the desktop as windows says the files are in use, even in safe mode.


Marimo beat you to it gregoriev, repeating some one elses work isn't 1337 either !

Last edited by Nuttapper; Nov 10, 2005 at 12:18 PM.
Old Nov 09, 2005, 11:58 PM
marimo marimo is offline
Senior Member
Join Date: Sep 2001
Posts: 368

Well, I have no idea on how to do that with a batch file, but I use a free program called Unlocker. It basically unloads the file from whatever process is using it so you can delete it.


Hope this helps.
Old Nov 10, 2005, 12:09 PM
Nuttapper Nuttapper is offline
Join Date: Dec 2000
Location: Great Britain
Posts: 2,253

Thanks very much Marimo, that worked like a charm

Would still like to see a script written though to do the same job, If we have any 1337 guys in the house please step forward, if not ...ahwell
Old Dec 02, 2005, 08:51 PM
gregoriev gregoriev is offline
Join Date: Nov 2003
Location: Tampa, Florida
Posts: 100

dude...if did you even read my post for two second? I mean TWO seconds!?

my batch called an external .exe I found on the internet called devcon.exe. I already knew about the shutdown command, and used it against my fellow classmates as a practical joke for several months now.

notice how its not spelled shutdown.exe...funny how two totally different names refer to totally different things. I dont even know who your talking about, but if they explained shutdown.exe for windows XP, then good for them. I however was explaining devcon.exe.

why did I prefer to use devcon instead of the more know and less 1337 shutdown.exe? simple: shutdown.exe does not exist for windows 2000, and since devcon.exe works for both xp and 2000, its crossplatform ability gives it a +1 for portability in my book.

know your stuff before you dare say I copied anyones work. I also stated above that you sould post anything, even if its rudementary. this is the freaken internet, everything I say has been said by somebody somewhere at some time!

I had hoped that we might get some people who had a few tomes of knowlege to leave us...but it seems everyone here, except marimo/nuttapper.
I say both because aparent marimo posted the shutdown infor involving shutdown.exe somewhere previously that I had not seen, and nuttapper gave the command, syntax, and fact it worked in xp. although it must be known that it ONLY works in xp, NOT windows 2000.

nuff said,
Old May 23, 2009, 11:04 PM
James58321 James58321 is offline
Join Date: May 2009
Posts: 1
Default Make a batch file talk!

Old Sep 19, 2009, 07:00 AM
perce02 perce02 is offline
Join Date: Sep 2009
Posts: 3
Default Hi

You guys are simpley great!!!

really got some good ideas which i heard first time only.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ifoedit Or Ifoupdate??? ponyboy11 DVD 2 May 14, 2009 01:51 AM
œœBurning DC Games 4 Dummiesœœ holyniht Mac User 5 Jan 15, 2006 03:45 PM
cdrw optorite problem. please help. G-nort CD-R & CD-RW 7 Oct 23, 2004 03:29 AM
what discs are these? Matrix_581 DVD/CD Media Discussion 9 Dec 28, 2003 04:11 PM
how would i execute this with a batch file...... dazco Open to All Computer Related Topics 2 Nov 21, 2003 09:35 AM

All times are GMT -5. The time now is 11:00 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 1996-2009 All rights reserved