Patent ID: 8090927

Claim:
An application executing method for automatically executing an application stored in a storage unit of an external storage device in an operating system of a computer host, the application executing method comprising: logically dividing the storage unit into a first partition and a second partition and emulating the first partition as compact disc-read only partition; programming an auto-execution file and a switch program into the first partition, wherein the auto-execution file is used to automatically execute the switch program and the switch program is used to automatically execute the application; storing the application into the second partition; and configuring a storage medium controller into the external storage device, wherein, when the external storage device is coupled to the computer host, the storage medium controller only provides the first partition to be identified by the operating system and the auto-execution file is automatically executed by the operating system and the switch program is executed by the auto-execution file and the switch program requests the storage medium controller to decouple the external storage device to the computer host and to re-couple the external storage device to the computer host, wherein, when the storage medium controller re-couples the external storage device to the computer host, the storage medium controller only provides the second partition to be identified by the operating system and the switch program executes the application.