Share via

File Explorer cannot locate folder.

Anonymous
2019-10-11T06:56:37+00:00

I have an application folder created inside Program Data, i.e path C:/ProgramData/AppName.

I am able to access files located at this path from code. Physically Folder exists, but when going to that path from File Explorer it does not show that folder.

I tried following steps to get to that folder, but couldn't get any success.

  1. Checking and getting path from code, files and folders at that path exists.
  2. "Windows Key + R"  Run -> C:/ProgramData/AppName it shows error "C:/ProgramData/AppName is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you're connected to the network or Internet, and then try again. If the location still can't be found, it might have been moved or deleted."
  3. Go to task manager -> File -> Run New Task -> Write "C:/ProgramData/AppName" -> Check Mark "Create this task with administrative privileges." -> Go to ProgramData folder, AppName folder cannot be found.
  4. Go to Command Prompt, execute command "cd C:/ProgramData/AppName" it shows error ""The system cannot find the path specified."
  5. Checking Directory information from code,

if (Directory.Exists("C:/ProgramData/AppName"))

{

var th = new DirectoryInfo(path);

var attribute = th.Attributes;

}

th.Attributes shows "65552" value, while checking for other folders inside ProgramData it shows th.Attributes value System.IO.FileAttributes.Directory.

How do I go to this path phsically from File Explorer?

Previously I was able to go that path From File Explorer, Now I dont know what went wrong I am unable to go to that path.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. DaveM121 884.2K Reputation points Independent Advisor
    2019-10-11T07:11:07+00:00

    Hi Urja

    Run that application

    Open Task Manager (Ctrl + Shift + Esc)

    On the processes tab, right click that Application and choose 'Open File Location'

    Does that get you into that folder?

    May I ask, are you coding this application yourself and if so, why have you chosen the ProgramData folder as a location for your application?

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-10-14T05:08:46+00:00

    Hello,

    I have chosen ProgramData folder to store application data and not the application installation location.

    Thanks.

    Was this answer helpful?

    0 comments No comments