Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Calling .exe with Run

  • To: mathgroup at
  • Subject: [mg66102] Calling .exe with Run
  • From: Marco Gabiccini <m.gabiccini at>
  • Date: Sat, 29 Apr 2006 03:41:04 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Maybe this is not exactly what you meant to do but here is my example for you.

This is just a call to cmd.exe to see, in the DOS window, the files in the 
directory C:\Marco.

batfilecontent = ToString[ColumnForm[
{"cd\\","dir/p"}, Left]
Export["call.bat", batfilecontent, "Table"]

I hope this helps.

Marco Gabiccini

  • Prev by Date: Re: How Functions are Applied to Matrices
  • Next by Date: Why D[x', x] isn't 0 ?
  • Previous by thread: Re: Conditions with Statistical Functions
  • Next by thread: Re: Calling .exe with Run