Results 1 to 10 of 10
  1. #1
    2 Star Lounger
    Join Date
    May 2002
    Location
    Nr. Edinburgh, Fife, Scotland
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DirectX9 (XP Home SP1)

    I was doing a bit of cleaning up today in C:WindowsTemp. I was gaily deleting all the older files, when quite by accident, I noticed that the folder I was about to delete was called DirectX9, so I checked it first. Is is the whole installation folder for DirectX as it contains the .exe, dlls and cab files. I always understood that only temp files which could be deleted later were in the "Temp"folder. If I am right, how on earth did DirectX get in there?. I most certainly did not install it there .I had problems with my first attempt at running DirectX9, and as this installation is fine, I do not want to move it or reinstall it somewhere else. I installed it from a CD and did not change the suggested installation folder.Am I right in thinking it should not be there? Have you any comments for me. Thank you.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: DirectX9 (XP Home SP1)

    The normal place for DirectX to be installed is C:WindowsSystem32. You can check if you can find files such as ddraw.dll and dpnet.dll in C:WindowsSystem32. If so, the folder in C:WindowsTemp is probably just left over from when you had installation problems. I suspect that you can remove it safely, but before you do so, rename it or move it somewhere else, and test it. You can run the diagnostic program (select Start | Run..., type dxdiag then click OK), or run a game that uses DirectX. If you don't have problems, you can safely remove the folder from C:Windows/Temp that you renamed or moved.

  3. #3
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: DirectX9 (XP Home SP1)

    Elaine,
    Hans is right as to the location of Directx9. The temp folder is just that....temporary storage. You should be able to delete the contents OK without problems. <img src=/S/joy.gif border=0 alt=joy width=23 height=23>

    Bob
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  4. #4
    2 Star Lounger
    Join Date
    May 2002
    Location
    Nr. Edinburgh, Fife, Scotland
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DirectX9 (XP Home SP1)

    Hans & Viking, Thanks for your advice. Followed orders - renamed - ran tests- all was OK, so folder deleted.Could you please explain this a bit more for me.I thought DirectX should be in System 32, so before I first posted I ran a search for some of the files in System 32 . I couldn`t find any of them, and one was a large ".exe" file. This is why I thought they were in the wrong place. Why were they not in System 32 as well? I can see that they might have been left over from before, but I can`t see why they were not in both places. I would be very grateful for an explanation of this please.Thanks again for the help.
    Elaine

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: DirectX9 (XP Home SP1)

    Hello Elaine,

    Perhaps you don't see the contents of system folders. In Windows Explorer, select Tools | Folder Options, View tab. If "Display contents of system folders" is not checked, do so now, then click OK. See if you can find files such as ddraw.dll now.

  6. #6
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: DirectX9 (XP Home SP1)

    Elaine,
    Also make sure that Tools | Folder Options | View | Hide protected operating system files is NOT checked.

    Joe
    Joe

  7. #7
    2 Star Lounger
    Join Date
    May 2002
    Location
    Nr. Edinburgh, Fife, Scotland
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DirectX9 (XP Home SP1)

    Hello Hans & Joe, I have checked the folder options you both suggested, and the .dlls which Hans mentioned are there. That is not my problem. The folder I deleted from Temp had 10 files including dxsetup.exe, DirectX.cab (15MB), and dxnt.cab (over 12 MB). These files sounded important to me, and I thought they should be somewhere else on the system, but they aren`t. Perhaps I am just being stupid,but I would like to know what these files are, and why DirectX is running OK since they don`t exist now. I know that installation temp files are deleted , but I thought that no ".exe" files could be deleted. Sorry to drag this out, but I would appreciate an explanation please.Thanks for all your help and patience.

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DirectX9 (XP Home SP1)

    Elaine,

    The files that you're seeing (or did see) were the installation files for DirectX left over from when you downloaded and installed it. A CAB file, which is short for CABinet, is a compressed package like a ZIP file, containing many smaller pieces - not unlike a moving box. Once the setup program runs, it unpacks the necessary system files and copies them to the correct locations, registering their presence with Windows. The actual files in use are many and varied and don't correspond to the setup files and could number into the hundreds.

    The items that were in your temp folder are no longer important. Running DirectX setup again would bring about their existence all over again, and normally temp files like this are deleted after setup completes. EXE files can be deleted just like any other, particularly those that are setup programs (DXSETUP.EXE).

    Hope that helps, but if it doesn't don't worry about dragging it out...understanding is more important than the length of a thread in the Lounge!
    -Mark

  9. #9
    2 Star Lounger
    Join Date
    May 2002
    Location
    Nr. Edinburgh, Fife, Scotland
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DirectX9 (XP Home SP1)

    Ah......so a cab file is like a box delivering files,and once you unpack it .it is just an empty box and you don`t need it any more to run the program. That is what I had in the Temp folder. I just hadn`t seen those type of files there before. Thanks Mark. You have explained exactly what I wanted to know. I am learning all the time from you and the others who help me here, and am happy that you appreciate that it is necessary to have all your questions answered in order to understand fully.I used to exasperate my teachers at college with all my questions, but, for me at least, it is the only way to learn properly. Thank you everyone. I don`t know what I`d do without this Forum. Experts you certainly are.
    Elaine

  10. #10
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DirectX9 (XP Home SP1)

    Elaine, quite welcome. I once heard the phrase "the only stupid question is the one you don't ask." I adhere to that personally. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> One final thought for you, the CAB files aren't empty after you unpack them, they can be used over and over. Now if only I could figure out a way to convert my bank account to one of those... <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

    Seriously, glad to be of help. That's what we're all here for!
    -Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •