Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to write a cdf file to read in the commmand line arguments and then do something with them. Something like this:

Mathematica.exe 'filename.cdf' arguments

Then from inside the cdf call $CommandLine or something and then get those arguments. Just wondering if this is possible.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.