I do not have an exact answer, but I will try to help.
1) As a regular user, right-click the Visual Studio command prompt and select Run as administrator. Thus, you can start Visual Studio as a regular user and use only the command line as an administrator.
2) The location of the Debug folder is not the default. I use Visual C ++ 2010 Express as a regular user and use location / user / visual studio 2010 / projects by default. I can run the program without problems. Also verify that you have executable privileges in the file by right-clicking it.
Also, why don't you just use "Ctrl + F5" to run the program from the IDE? This method is much faster if you just want to run the program. One more thing, try opening the cmd shell from outside of Visual Studio, cd into a folder and run it, and see if this has changed.
source share