Copyover

Posted by Snex on Wed 02 Oct 2002 08:54 AM — 3 posts, 15,541 views.

Australia #0

Hi ;)

I was just wondering, would it be possible for copyover code to be successfully used in Cygwin? Since Windows doesn't let you modify/overwrite 'rom.exe' while it's in use, is there any simple workaround that wouldn't make the file directory too messy? :x

And does anyone know if it's possible to rename the file while it's in use? I read it on the CircleMUD mailing list, just wondering if it's true.

If anyone has any info, please share it. I know I'm lazy for not just doing it manually... Thanks in advance
Australia Forum Administrator #1
I think you can rename files in use if the file name length doesn't change. (eg. rom.exe to ram.exe)

You could try making the startup script make a second copy, and execute that. eg.

copy rom.exe rom_copy.exe
rom_copy

#2
I used a copyover script by Erwin Andreasen that I found somewhere, though sadly I don't remember where. It automatically does what it needs to do and works great. If you're stumped about a copyoverscript you have, you mighht look into it.