xboxscene.org forums

Author Topic: Path Copying Problems  (Read 95 times)

Unbewoffnet

  • Archived User
  • Newbie
  • *
  • Posts: 14
Path Copying Problems
« on: January 19, 2004, 08:26:00 PM »

I'm working on a script that involves copying an entire path from one place to another.  Both of the paths I'm copying contain variables.  Here's the relevant part of the script:
CODE

BeginDraw UseCurrent
 Messagebox "Copying..."
EndDraw

MkDir f:HDDLoader%NewPath%
Copy %_GameDir% f:HDDLoader%NewPath%

BeginDraw UseCurrent
 Messagebox "Copy complete"
EndDraw
Delay 3


The  script successfully copies everything from one place to the other, and then bombs out before changing the message box.  Any ideas as to what could be the problem?

Edit: Took the script out of the .xas and put it into the mxm.xml, and got an error code: "(copy) command not implemented."  But it does copy stuff.  

This post has been edited by Unbewoffnet: Jan 20 2004, 04:48 AM
Logged