Microsoft KB Archive/191598

{|
 * width="100%"|

DirectX: How to Reinstall DirectX and Replace All DirectX Files

 * }

Q191598

-

The information in this article applies to:


 * the operating system: Microsoft Windows 95
 * the operating system: Microsoft Windows 98

-

SUMMARY
This article describes how to reinstall Microsoft DirectX and replace all DirectX files.

MORE INFORMATION
To reinstall DirectX and replace all DirectX files:

Note the location of the Microsoft Windows Temp folder. To do this:

 Click Start, and then click Run. In the Open box, type temp, and then click OK. On the View menu, click Options or Folder Options. On the View tab, click to select the Display the full MS-DOS path in the title bar check box, and then click OK. Note the path to the Temp folder in the title bar. Repeat this step to clear the Display the full MS-DOS path in the title bar check box.

Minimize the Temp window.

Click the appropriate link for your version of Microsoft Windows on the following Microsoft Web site:

"http://www.microsoft.com/directx/homeuser/downloads/default.asp" Follow the instructions on the screen to download the DirectX 7.0 self-extracting file (Dx70eng.exe), and then save the file to the desktop.

On the desktop, right-click the Dx70eng.exe file, and then click Create Shortcut.

Right-click Shortcut To Dx70eng.exe, and then click Properties.

In the Target box on the Shortcut tab, press END, press the SPACEBAR, and then type the following line

"/c /t:temp\directx" where temp is the path to the Temp folder you noted in step 1. The text in the Target box should be similar to the following line:

"'C:\Windows\Desktop\Dx70eng.exe' /c /t:c:\windows\temp\directx" Click OK.

Double-click Shortcut To Dx70eng.exe to extract the DirectX 7.0 files.

Click the Temp button on the taskbar.

Double-click the Directx folder, and then double-click Dxsetup.exe.

Click Reinstall DirectX, and then follow the instructions on the screen.

NOTE: When you are finished reinstalling DirectX, you can delete the Directx folder in the Windows\Temp folder.