Re: Calling a MS-DOS command
- To: mathgroup at smc.vnet.net
- Subject: [mg56898] Re: [mg56868] Calling a MS-DOS command
- From: yehuda ben-shimol <bsyehuda at gmail.com>
- Date: Mon, 9 May 2005 01:46:42 -0400 (EDT)
- References: <200505080610.CAA02264@smc.vnet.net>
- Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
?For this two specific task you have
DeleteFile[] and CopyFile[]
functions.
In general
!command will open a shell window, execute the command and close the
shell window
yehuda
On 5/8/05, Swati Shah <swatshah at gmail.com> 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
>
>
- References:
- Calling a MS-DOS command
- From: Swati Shah <swatshah@gmail.com>
- Calling a MS-DOS command