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.
- Checking and getting path from code, files and folders at that path exists.
- "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."
- 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.
- Go to Command Prompt, execute command "cd C:/ProgramData/AppName" it shows error ""The system cannot find the path specified."
- 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.