Re: Calling a MS-DOS command
- To: mathgroup at smc.vnet.net
- Subject: [mg56875] Re: Calling a MS-DOS command
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Mon, 9 May 2005 01:45:56 -0400 (EDT)
- References: <d5kasq$29r$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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