Ehtyar:
You did not mention the OS you are using, but you do mention Notepad++, so I assume Windows.
I think the requirement for the extra cmd is because some commands are actually built directly into the command processor.
In older Windozs, (before Vista) this was called "command.com." Newer versions call it "cmd.exe"
In either case, commands like copy, cd, dir, and several others are part of the command processor. This made running these very common commands faster on floppy based system. If you search your hard disk you will not find these.
Other commands like "notepad.exe" or "xcopy.exe" are not "built-ins".
If you type a command at the DOS prompt, the command processor first searches it's internal list and if found, executes what you typed. If not found, it begins to search through the path.
That is why you have to specifically ask for the cmd to be launched. Copy is in cmd.
In the olden days, XP had a program called xcopy.exe. It was the same as copy with a few more features, and I see it exists in Win7, you might try that.
reference:
https://www.bleepingcomputer.com/tutorials/windows-command-prompt-introduction/Good luck, Mark.