MathGroup Archive 2005

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

Search the Archive

Re: Calling a MS-DOS command


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
http://www.dbaileyconsultancy.co.uk


  • 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