use File::Spec; my $dir = File::Spec->catfile("c:", "Dokumente und Einstellungen"); my @output = `dir "$dir"`; # mit anfuehrungszeichen print @output;