hi all,
i want to run some javascript file from command line.
On searching the net i came to know that we can do it by using cscript.exe or with wscript.exe.
1. can some one provide me some example code(javascript )?
2. can we pass some arguments to the functions in the script file? or can we make it interactive in the commandline to read some values?
3. where can i get a complete reference to these problems ..
It ll be good if the example code can demonstrate all the important capabilities.
looking forward for a soon reply . .
i want to run some javascript file from command line.
On searching the net i came to know that we can do it by using cscript.exe or with wscript.exe.
1. can some one provide me some example code(javascript )?
2. can we pass some arguments to the functions in the script file? or can we make it interactive in the commandline to read some values?
3. where can i get a complete reference to these problems ..
It ll be good if the example code can demonstrate all the important capabilities.
looking forward for a soon reply . .
Comment