We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Undelete Command Under Dos v7.0

kulesk
kulesk asked
on
Medium Priority
209 Views
Last Modified: 2013-12-29
If you delete something under DOS in '95, how can you get it back?  If I understand it correctly, '95's command.com no longer supports the undelete command.  Help.
Comment
Watch Question

Commented:
Got the following from the Microsoft web site.

If you try to use the MS-DOS UNDELETE command in Windows 95, you may
receive the following error message:
 
   Windows has disabled direct disk access to protect long filenames.
   To override this protection, see the LOCK /? command for more
   information.
 
   The system has been halted. Press CTRL+ALT+DEL to restart your
   computer.
 
CAUSE
=====
 
The UNDELETE command requires direct access to the drive. You must lock
the drive before you issue the UNDELETE command.
 
RESOLUTION
==========
 
NOTE: The UNDELETE command runs in MS-DOS mode by default. You should run
these commands in MS-DOS mode.
 
Lock the drive before you issue the UNDELETE command. To lock the drive,
type
 
   lock <x>:
 
where <x> is the letter of the drive you want to lock.
 
When you are done using the UNDELETE command, unlock the drive by typing
 
   unlock <x>:
 
where <x> is the letter of the drive you want to unlock.
 
WARNING: Using the LOCK command enables direct disk access. A program that
accesses the disk directly can destroy long file names. You should back up
long file names before running a program that could harm them. To back up
long file names, use the Lfnbk.exe program located in the Admin\Apptools\
Lfnbk folder on the Windows 95 CD-ROM. See the Lfnbk.txt file in the same
folder for information about this program.
 
The Lfnbk.exe program is included in the CD-ROM version of Windows 95, but
not in the floppy disk version. If you are using the floppy disk version
of Windows 95 and you want to use Lfnbk.exe, please see the following
article in the Microsoft Knowledge Base for information about the
availability of Lfnbk.exe:
 
   ARTICLE-ID: Q135315
   TITLE     : CD-ROM Extras for Microsoft Windows 95 Upgrade

Author

Commented:
When I tried to lock the drive, it came back with an error messages saying, "Locking operation failed".
Technical Writer
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.