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 2005

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

Search the Archive

Re: Calling a MS-DOS command

  • To: mathgroup at
  • Subject: [mg56875] Re: Calling a MS-DOS command
  • From: David Bailey <dave at>
  • Date: Mon, 9 May 2005 01:45:56 -0400 (EDT)
  • References: <d5kasq$29r$>
  • Sender: owner-wri-mathgroup at

Swati Shah wrote:
> Hi everyone,
> I would like to call some DOS commands from Mathematica like 
> delete ("tmp.txt")
> copy filea to fileb
> Is this possible in Mathematica? I have been looking at the
> documentation but am not having a lot of luck.
> Thanks in advance
Run will do this - try Run["pause"] to see more clearly what happens. 
BTW, they are not really MS-DOS commands - MS-DOS died long ago, they 
are CMD commands.

David Bailey

  • Prev by Date: Re: Ordering broken on Windows, but not Mac
  • Next by Date: Re: Debugging
  • Previous by thread: Re: Calling a MS-DOS command
  • Next by thread: Re: Calling a MS-DOS command