|
Copying Files
Copying files via hyperlink:
Hyperlinks can not only be used to execute files (e.g. EXE files) in your menu, but also to copy files from the CD-ROM on the hard disk of the user. Therefore you have to add the following attribute to the A-Tag of the hyperlink: target="command" instead of "command" use one of the following commands in order to get the desired functionality:
copyfile
Opens a save file dialog where the user can specify the location where the file is being copied to. After clicking the OK button the file that is referenced by the src="..." attribute of the hyperlink is being copied to the location that the user has chosen.
copyfile:target
Offers the same functionality as copyfile but instead of "target" you can predefine a directory into which file will be copied. Though the user will still be prompted with a save file dialog so that the destination directory can be changed if necessary. Example: <A href="myfile.exe" target="copyfile:c:\windows\">Copy the file to the Windows directory</A>. Please make sure that the specified directory exists on the target machine.
copyandexecfile
Offers the same functionality as copyfile, but the referenced file is executed at the new location after copying has been finished. This command is very useful for links that point to self-extracting ZIP files.
copyandexecfile:target
Offers the same functionality as copyfile:target, but the referenced file is executed in the new location after copying has been finished. This command is very useful for links that point to self-extracting ZIP files.
openandclose
The file that is referenced by this hyperlink is being executed and after that Discstarter is closed. This command is useful when launching a setup program. After having finished the setup the menu is not shown anymore so that the user can instantly start working with the recently installed program.
|