MathGroup Archive 2005

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

Search the Archive

Re: Calling a MS-DOS command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56893] Re: [mg56868] Calling a MS-DOS command
  • From: Namrata Khemka <namrata.khemka at gmail.com>
  • Date: Mon, 9 May 2005 01:46:23 -0400 (EDT)
  • References: <200505080610.CAA02264@smc.vnet.net>
  • Reply-to: Namrata Khemka <namrata.khemka at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Swati,
You can call them:
CopyFile["filea", "fileb"] copies filea to fileb

DeleteFile["tmp.txt"]


And you can find more on these in the help browser under the "system interface"

Namrata

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
> 
>


  • Prev by Date: Re: Calling a MS-DOS command
  • Next by Date: StringCases
  • Previous by thread: Re: Calling a MS-DOS command
  • Next by thread: Re: Calling a MS-DOS command