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: [mg56898] Re: [mg56868] Calling a MS-DOS command
  • From: yehuda ben-shimol <bsyehuda at>
  • Date: Mon, 9 May 2005 01:46:42 -0400 (EDT)
  • References: <>
  • Reply-to: yehuda ben-shimol <bsyehuda at>
  • Sender: owner-wri-mathgroup at

?For this two specific task you have 
DeleteFile[] and CopyFile[]
In general 
!command will open a shell window, execute the command and close the
shell window

On 5/8/05, Swati Shah <swatshah at> 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: Debugging
  • Next by Date: Re: Calling a MS-DOS command
  • Previous by thread: Calling a MS-DOS command
  • Next by thread: Re: Calling a MS-DOS command