-----Original Message----- >From: AndrewMcHorney <[EMAIL PROTECTED]> >Sent: Nov 7, 2007 2:15 PM >To: beginners@perl.org >Subject: String Creation > >Hello > >Here is the contents of the string I want to create: > >"dir c: \ /S" so I can get a complete list of all the files in a disk >partition. How can I create this string? >
I'm just confused, can't it work when you create the string directly? C:\Perl>bin\perl -e "$str='dir c:\ /s';system($str)" Works pretty fine for me. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/