'Can't create HR schema on Oracle 21c (SP2-0310)

I'm new to Oracle and i'm trying to install HR schema but error occurs.
enter image description here SP2-0310: unable to open file "SUB__CWD/human_resources/hr_cre.sql" connecting and granting seems work but this error occurs and i can't create hr schema..
I searched and tried many ways, but I couldn't find the right solution.
I'm using oracle 21c version and my OS is windows10.

I entered like this

sys as sysdba
alter session set "_ORACLE_SCRIPT"=true;
@?/demo/schema/human_resources/hr_main.sql hr users temp {password} $ORACLE_HOME/demo/schema/log/ localhost:1521/XE

I tried Installing Sample Schemas like this and installation of the sample schemas like this but it didn't work.
Thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source