Adding a file to the root of C drive. Will this cause problems ?


  1. Posts : 1,868
    W10 pro x64 20H2 Build 19042.610
       #1

    Adding a file to the root of C drive. Will this cause problems ?


    This is a bit of an odd one.

    I use a program that calls up data from a text file. This means I have many copies of the same file scattered in various project folders which is messy for a variety of reasons, not least having dozens of the same file exist.

    Placing the file at the root of the drive means I can call up the file with a short address, and it all seems to work OK. The only question is whether this will cause any issues for Windows itself, particularly updates and so on.

    (although I could place the file elsewhere, it means I don't get to use a short file name which is important because the filename has to appear on the workspace of the program concerned)

    So will this cause any long term issues ?

    Adding a file to the root of C drive. Will this cause problems ?-capture.jpg
      My Computer

  2. Caledon Ken's Avatar
    Posts : 24,161
    Windows 10 Pro x64 Version 2004
       #2

    Hi Mooly. None that I'm aware of.

    Lots of people will have other folders on the root, like you have Intel and Dell. I have one called Data.
      My Computer


  3. Posts : 1,868
    W10 pro x64 20H2 Build 19042.610
    Thread Starter
       #3

    Thanks for that Ken, it seems you do something similar :)

    I'm trying to tidy everything up for when the Fall update comes along. Although I will clean install, I'm using the available time to get all my files in order first.
      My Computer

  4. Bree's Avatar
    Posts : 18,617
    10 Home x64 (20H2) (10 Pro on 2nd pc)
       #4

    Creating files on the root of the C: drive shouldn't cause a problem for Windows, but it may be a problem for the app creating the file. The root of C: is protected and you'll get an 'administrator approval' popup if you try to manually create or save a file there. I'd create a subfolder on C: and use that.
      My Computers


  5. Posts : 1,868
    W10 pro x64 20H2 Build 19042.610
    Thread Starter
       #5

    Thanks Bree, that a really good point. This application never actually writes to the file (it is just a lookup), but I do occasionally add new data manually to it and yes, you are right... when I tried to paste a new line into it as a test there were objections. I had to open notepad as admin and locate the file manually in order to edit it. Altering the file is such an infrequent occurrence though, that I can probably live with that.

    I'll see how it all works in practice now... great not to have all those duplicate files in numerous folders which was the main reason for trying this.
      My Computer

  6. cereberus's Avatar
    Posts : 12,010
    Windows10
       #6

    Mooly said:
    Thanks Bree, that a really good point. This application never actually writes to the file (it is just a lookup), but I do occasionally add new data manually to it and yes, you are right... when I tried to paste a new line into it as a test there were objections. I had to open notepad as admin and locate the file manually in order to edit it. Altering the file is such an infrequent occurrence though, that I can probably live with that.

    I'll see how it all works in practice now... great not to have all those duplicate files in numerous folders which was the main reason for trying this.
    In the end, it is simply bad practice to put files in root directory. Even putting non system directories is not the greatest idea if they can be placed in user directories or another partition/drive.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:00.
Find Us




Windows 10 Forums