Shell Commands/IconX

From MorphOS Library

< Shell Commands

IconX - Executes a batch file from the desktop (Ambient)

No Template

NOTE: IconX is used only as a default tool in a project icon and cannot be used as a Shell command.

To use IconX, create or copy a project icon for the script. Open the icon's Information window and change the Default Tool of the icon to C:IconX and select Save to store the changed .info file. The script can then be executed by double-clicking on the icon. When the icon is opened, IconX changes the current directory to the directory containing the project icon before executing the script. A console window can be opened on the Ambient screen if the script produces output.