Flash to CMD prompt

Hello guy, can anyone tell me how can I pass variable and command to CMD.exe from flash file? I mean, I want to replace .bat file using .swf

Okay, let say I want to copy file from my desktop to drive D:/

If I use Command:

COPY “%USERPROFILE%\DESKTOP\FILE.ANY” “D:”

So, It is possible to execute from flash movie instead >> maybe just pass the variable while execute CMD.exe externally?