You cannot pipe the results of a SHELL command to a variable. If you want this functionality, the popular choice seems to be using WshPipe().