Batch - copy file using relative path
if you start your path with \
, it's an absolute, not a relative path.
Try copy "Debug\text.txt" "..\..\new"
instead
if you have Debug
subdir try with
md "..\..\new" >nul 2>&1
copy ".\Debug\text.txt" "..\..\new"
md
will create a new
directory two levels up if you don't have it already.