There is no DOS anymore.
The Windows command prompt is like one of the ~unix shells.
for example:
#------------------------------------------
my $operatingSystem = $^O;
my $windows = "MSWin32";
my $unix = "hpux";
print "Running under ${operatingSystem} environment.\n\n";
my $pathSeparator = "";
if ( $operatingSystem eq $windows )
{
$pathSeparator = "\\";
}
else
{
$pathSeparator = "/";
}
#------------------------------------------
is not needed!
pathSeparator of "/" works on Windows and ~Unix (LINUX, etc..)
Where it really matters, the logic above to determine the OS is woefully inadequate.