Dear Robert Please find attached three screeen capture jpgs showing the 'unplug or eject hardware' window with both one and two USB drives attached and the 'stop a hardware device' window for the first device. There is a similar window for the second device. I have checked, and whichever line I chose to stop in this window all three disappear as does the entry in the first window. This would appear to be different to the behaviour you were expecting. I run XY4 fullsceen with 28 lines and I use a small sans serif font which I load using VGA.COM from STARTUP.INT. The following script now works reliably (except for changing the screen font): /// Issue a DOS command line like this: /// GoXy.exe C:\XY4\BREEZE.GO "" c /// In XyWrite: /// dos/nv/x/z /c GoXy.exe c:\XY4\BREEZE.GO "" c key(LW)rkey(WT{500}) RunDLL32.exe shell32.dll,Control_RunDLL hotplug.dllkey(ET) key(WT{1000}L1WT{500}JW{USB Mass Storage Device})KEY(WT{500}RD)key(IF{TD=USB Mass:G2})key(JW{Unplug or Eject Hardware}CDG1L2) key(AL)skey(WT{1000}ETWT{1000}ETWT{2000}AL)ckey(WT{1000}ET) /// Return to XyWrite on conclusion: /// key(JW{TO}) (I have had to make one change to the timings in order for it complete properly each time.) I have tried running the same script with "kmd/c start" inserted into the XY command and the last line edited back in. This works erratically at present. Occasionally it will run successfully and return me to XY4 with the correct screen font. Most often, though, I end up with an XY4 screen fully of garbage and I have to issue a new vga.com command in order to reset the screen font correctly. (I have seen this corrupted screen often in the past when using odd fonts. I believe it is to do with being returned to XY4 with a combination of screen font and line settings that don't work.) I cannot find any pattern to the behaviour of the script when run like this. Best wishes PaulAttachment: Stop a hardware device screen for either usb device.jpg
Description: JPEG imageAttachment: unplug or eject hardware screen 1 usb device.jpg
Description: JPEG imageAttachment: Unplug or eject hardware screen 2 usb devices.jpg
Description: JPEG image