This article was previously published under Q164351
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
When you perform file management using wildcards from the command prompt,files with long extensions may be unexpectedly displayed, copied, ordeleted.
By default, Windows NT 4.0 mimics the Windows 95 behavior of truncatinglong file extensions under certain operations from the command line. Filemanagement operations directed at a 3 digit extension may also includefiles with an extension containing more than 3 digits where the first 3digits match the operation argument.
This behavior only affects file management commands such as dir, del,move, and copy that are executed at a command prompt. File managementoperations performed by Find, File Manager, or Windows NT Explorer do notperform in this manner.
WARNING: Using Registry Editor incorrectly can cause serious problems thatmay require you to reinstall your operating system. Microsoft cannotguarantee that problems resulting from the incorrect use of Registry Editorcan be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys AndValues" Help topic in Registry Editor (Regedit.exe) or the "Add and DeleteInformation in the Registry" and "Edit Registry Data" Help topics inRegedt32.exe. Note that you should back up the registry before you edit it.
To control this behavior, perform the following steps:
Start Registry Editor (Regedt32.exe) and go to the following subkey: