You misunderstood what Les is telling you. You are not properly formatting your command to use variables in your quotes...

Code:

$file = "M:\Some dir with spaces\file.ext"
run %comspec% + ' /c "' + $file + '"'



Edited by Chris S. (2006-02-22 05:59 PM)