Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy files form CD to hard drive for Mac/Pc

Status
Not open for further replies.

kentar

Programmer
Mar 8, 2001
1
US
Is it possible to choose the destination?

I know that the fileio Xtra does that...

Have you got some *.dir files or can you copy and paste the code for Mac or Pc and for Director 7 or 8

Thanks...

Rémi.
 
Here is some code from MX but it shouldn't be too different. I'm using the BuddyAPI. This is for Windows. I can add the Mac code if you want as well. I hope this helps.

-- Create folder
if baFolderExists(installFolder) = 0 then
baCreateFolder(installFolder)
end if

-- Copy files to folder
baCopyFile(the moviePath & "Start.exe", installFolder & "Start.exe", "IfNewer")

-- Create shortcut on desktop
baMakeShortcut(installFolder & "Start.exe", baSysFolder("desktop"), "Connecting Math")
end if

-- Create shortcut in start menu
baMakeShortcut(installFolder & "Start.exe", baSysFolder("groups"), "Connecting Math")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top