Be aware that any spaces will need to be preceded by a backslash. For example, "Install macOS High Sierra.app" would become Once you hit Enter, you'll need to enter your admin password to approve ...