<?xml version="1.0" encoding="windows-1252"?>
<node id="818204" title="Re: I go crazy with windows filenames with spaces!" created="2010-01-19 10:03:31" updated="2010-01-19 10:03:31">
<type id="11">
note</type>
<author id="491754">
ahmad</author>
<data>
<field name="doctext">
&lt;p&gt;If you are running on windows XP or higher you don't need to escape the blank space.&lt;/p&gt;
&lt;p&gt;Try this:&lt;/p&gt;
&lt;c&gt;
my $path = 'C:\Documents and Settings\Administrator\Desktop';

opendir(DIR,$path) or die $!;
while (my $File = readdir DIR) {	
	print "$File\n";
}
closedir(DIR);
&lt;/c&gt;
&lt;p&gt;As I remember older versions of windows only support 8 characters long file/folder name so you'll have to use 6 characters and add ~1 at the end of the file name.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I am not very sure I haven't used old windows OS from like 6 years now&lt;/strong&gt;&lt;/p&gt;
</field>
<field name="root_node">
818196</field>
<field name="parent_node">
818196</field>
</data>
</node>
