View Full Version : Batch File Delay...

10-13-2002, 12:44 AM
I am making a batch file that will delete another file after a certain amount of time... does anyone know a website or something that tells more about coding batch files.. or does anyone just know how to add a delay for 5 seconds?

Shawn Curry
10-13-2002, 09:09 AM
Depends on what language your trying to implement it in. If its COM enabled, im sure theres an OLE control you can just snap in. If you dont want a GUI, either get a reference book or be creative: write an exponent algorithm and make it calculate a billion to the 200th power. it'll be there for a while trust me.

10-13-2002, 01:59 PM
lol, my computer would have the time dig its own grave and die before it finished! how fast are the fastet computers on earth(or space), just out of curiosity?

Shawn Curry
10-14-2002, 03:48 PM
I wrote a small library for storing and processing large numbers like that(C++ standard types cant handle numbers that large accurately). It does take about 10 mins on a P3 to give an answer. Only thing is, that's about all you're gonna be doing for that 10 mins(just chews the proc right up).