File Name: USBWatchApp.Script
File Submitter: pscEx
File Submitted: 31 Dec 2011
File Updated: 31 Dec 2011
File Category: System scripts
When you insert an accordingly prepared USB stick, the StartMenuPrograms get the shortcuts to the apps on the stick automatically.
When the stick is removed, the startmenu entries disappear.
For tests i'm uploading two files.
You can unzip them onto two empty USB sticks.
Of course, only one stick will be sufficient. But with two sticks you can test to access the sticks independently.
After plugging in the sticks, in <StartMenu><Programs> an entry !multiPA_? will appear, where ? is the actual drive letter of the inserted stick.
This entry shows in sub entries all shortcuts to the apps on the stick.
BTW: The functionality works well only in PE2 and PE3. In PE1 mountStorPE / dummydriver.sys only detect the first inserting. Removing and reinserting is not detected.
BTW2: I assume that the script %BaseDir%ProjectsmultiPECore6 - Core AppsSystemUSBWatchApp.Script can also be used in non multiPE PE2 and PE3 projects.
Click here to download this file