error 5: Access Denied Dev C++

I am able to compile and run cpp code in command line by using g++ but when using Dev C++, Code compilation is fine but while running the code "Error 5: Access denied. Cannot execute <path>helloWorld.cpp", shows on the console.
Topic archived. No new replies allowed.