Popen

Table of contents

  1. Popen

Popen

You can execute a command an save the output of it to a variable using @@

set "result=@@vol /?"
set result
result=Displays the disk volume label and serial number, if they exist.

VOL [drive:]