How to copy files when files are in different folder than the dockerfile? [duplicate]

I need to build a docker image and need to copy a file from the different folder which don’t have docker file

Basically this is my dir structure

C:AGENT_WORK
├───a
│   └───s
└───s
    └───Docker
            Dockerfile

so I need to copy all files from C:AGENT_WORKas but my docker file is in C:AGENT_WORKsDockerDockerfile

I’m building the image by this command, I have given context as C:agent_work`

docker build -t testapp:latest -f C:AGENT_WORKsDockerDockerfile C:agent_work

Dockerfile:

FROM mcr.microsoft.com/windows/nanoserver:1709 AS base
WORKDIR /app
ARG BINARY_SRC
EXPOSE 80
EXPOSE 443
ADD C:AGENT_WORKas .
RUN ls
FROM base AS final
ENTRYPOINT ["dotnet", "TestApp.dll"]

Error:

ADD failed: CreateFile
?C:ProgramDataDockertmpdocker-builder076789264agent_work: The
system cannot find the path specified.

Source: StackOverflow