You are right about the single quotes:

SHELL ' %comspec% /c "$DriveM\2ksetup.exe" '

would also work. The \ tells KiX that your var is $DriveM.

What is 2ksetup.exe? When you run it from a command prompt does it open another (graphic?) window and return you to the C:\> in the command prompt window immediately?

cj