I have this "main.cpp" file created in CodeBlocks, and I got rid of everything in the project folder, "NewDirections" except for this. I ran a del
command through the command prompt as an administrator, shown in the following image, which did not work (it got an “Access is denied” error).
When I look at the file security under the properties header, I see this:
It is unable to display the owner.
I tried another route to delete this pesky file by deleting the folder that contains it, but I get this error:
Folder Access Denied
You require permission from ASUS-K501UX\vamad_n1mu3mk to make changes to this folder
(vamad_n1mu3mk is my username).
According to the permissions, I have full access:
cd C:\Users\vamad_n1mu3mk\Desktop
,dir/q
anddir/q NewDirections
(/q
shows who owns things). … (Cont’d)copy nul foo
is a good way to create an empty file) and checking that it is owned by Administrator (or Administrators) withdir/q
and File Explorer. (5) If you’re using some sort of domain administrator, you might want to look into using a local administrator account.