1.    29 Sep 2017 #1
    Join Date : Jun 2014
    UK
    Posts : 1,053
    W10 pro x64 and W8.1 x86

    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 ?

    Click image for larger version. 

Name:	Capture.JPG 
Views:	0 
Size:	71.8 KB 
ID:	155641
      My ComputerSystem Spec
  2.    29 Sep 2017 #2
    Join Date : Oct 2016
    Caledon, Ontario, Canada
    Posts : 4,117
    Windows 10 Pro Build 1703

    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 ComputerSystem Spec
  3.    29 Sep 2017 #3
    Join Date : Jun 2014
    UK
    Posts : 1,053
    W10 pro x64 and W8.1 x86
    Thread Starter

    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 ComputerSystem Spec
  4.    29 Sep 2017 #4
    Join Date : Aug 2016
    S/E England
    Posts : 4,536
    10 Home x64 (1709) (10 Pro on 2nd pc)

    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 ComputersSystem Spec
  5.    30 Sep 2017 #5
    Join Date : Jun 2014
    UK
    Posts : 1,053
    W10 pro x64 and W8.1 x86
    Thread Starter

    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 ComputerSystem Spec
  6.    30 Sep 2017 #6
    Join Date : Dec 2015
    Posts : 6,011
    Windows10

    Quote Originally Posted by Mooly View Post
    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 ComputerSystem Spec

 


Similar Threads
Thread Forum
Problems adding bookmarks to Chrome
All of my bookmarks were imported from Firefox to Chrome. When I opened Chrome they were labeled "Bookmarks" until today when I tried to add a new bookmark. Now my options are "Imported from Firefox" and the new bookmark (folder) sits beside that...
Browsers and Email
Adding new user problems
Whenever I add a new user, some of the elements of Windows 10 don't work properly. For instance, the Start Menu does not pop up, or either the right click or the left click works but not both, Also some apps like Weather try to start but...
User Accounts and Family Safety
Can't save file in C:\ root directory
I want to save files in my C:\ root directory of my boot drive and get an error that "Required privilege is not held by the client". I am the sole user/administrator of this system. I went into C:, properties, security, and enabled permissions for...
General Support
showing the total of folders/files in drive root
Properties are shown differently for folders and roots. Root properties only shows used and free space. Folder properties shows Size, Size on Disk, number of files/folders. Questions: 1 - How can I discover on the root drive the total of...
General Support
Still Cannot Access Root Drive ( C:\ )
I need to copy a file into my Windows 10 root drive (C:\). I cannot and get Error 0x80070522. - Found a tool which I really don't want to use since it is for folders and sub-folders. - Turned off User Account Control setting is set to the lowest....
User Accounts and Family Safety
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 20:56.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums