#!/usr/bin/perl -w use strict; my $foo = `echo %SSDIR%`; print $foo;