Calling a command line function

Hi all,

I have a weird requirement over here.

I want to make a command prompt call from javascript and also able to pass arguments to it.

say for example copy command.

I can open command prompt and write
copy C: ext.txt e: ext.txt
to copy text.txt from c to e drive

However I want to achieve the same from javascript.

Given all the rights and activeXObject permission tell me what is the way i can achieve this.
Is there any javascript object which can help me to do this?

Thanks