On Lundi 09 Juillet 2001 16:00, [EMAIL PROTECTED] wrote:
> Hello,
> I have a problem with the HD.
> First I have deleted Files in the directory "DIR1"
> (win4_DIR1_File1?.File99).
What worries me is the "?" into the filename... QDOS/SMS
do not understand UNIX wildcards natively (although a
a shell or programs ported from the UNIX world usually
do understand wildcards in their command line)...
IOT delete all files from DIR1_ directory from SBASIC, use:
WDEL_F win4_DIR1_
> Second I deleted the directory "DIR1"
>
> Problem:
> The DIR1 always existent.
> The command "Delete win4_DIR1_" shows the Error Massage "Not found"
> The command "Make_Dir win4_DIR1_" shows the Error Massage
> "always existent"
Try first the WDEL_F command, then do a DIR win4_DIR1_ (it should
print no file at all, if it does, then something is wrong: probably
a hard disk map corruption).
Then you can try DELETE win4_DIR1
If no file are left in DIR1_ and the DELETE command fails, this is
to say that a hard disk map corruption occured.
Same thing if you can't MAKE_DIR win4_DIR1 again after the DELETE
and/or if you can't delete files inside DIR1_...
If your hard disk is corrupted, then backup all data on another
hard disk (preferred) or another partition of the same hard disk
(more risky). You will probably get errors while backing up (such
as unaccessible files and/or directories) so you should use a
backup program that allows to retry/abort/ignore errors (I would
recommend TGBack, available from my web site: http://qdos.cjb.net/).
Once you backed up all your data:
- IF YOUR HARD DISK IS A SMSQ/E formatted one AND IF YOUR PARTITION
IS LESS THAN 500MB, then execute the "drvlink" utility (you should
got it together with SMSQ/E). Then try to recover the files that
TGBack could not backup.
- Try to recover remaining lost files using WinEd (author: Wolfgang
Lenerz, commercial software available from JMS), wineditor (freeware
for use with Qubide) or Doctor4 (freeware): the recovery will be slow
and painful (it is usually relatively easy to recover pure text files,
but other files are much harder to recover and a good knowledge of
the hard disk structure is needed).
- Reformat the corrupted hard disk partition and copy back the files
on it from the backup you made...
Note that it is always a good idea to backup all your data regularly...
QDOS/SMS forever !
Thierry.