delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/04/30/16:05:21

Message-ID: <ww01-BDdTzX2129@netaddress.usa.net>
Date: Wed, 30 Apr 1997 13:51:23
From: "Joseph Morris" <b52g AT usa DOT net>
To: opendos AT delorie DOT com
Subject: POWER rename program?
Mime-Version: 1.0

Does anyone know of a _power_ rename program?

I need something that renames a file by directly manipulating the FAT.

Here why:

I develop DPMI programs under windows.
When they crash, windows goes berserk and LOCKS the file using some
unknown process.

Any attempt to delete or write to the file (eg a re-compile) results
in a sharing violation error despite the fact that NOTHING is sharing
the file with anyything else.

In many cases it is not even enough to quit windows, and a reboot is
needed to release the file.

So far I've been using Norton Utility to manually edit the FAT and
rename it to ~1avios.exe or some permutation.
But this is cumbersome, and it logs the whole disk first, meaning
it takes 45 seconds to rename the file. 

Does anyone know of a program that can do this?
GEM can cope with invalid filenames, spaces etc but not with this.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019