Just a thought, why not use the short names for the directories i.e. Program
Files = Progra~1, New Folder = newfol~1 ect you can list them using cmd dir /x
this should solve it unless it is actually the share names that are causing the
problem, in which case you can either rename the share or use the admin shrare
C$, D$ and so on of course you need to have admin access to do this
Steve.
> Subject: RE: glob doesn't work on UNC paths?> Date: Wed, 7 Mar 2007 09:55:53
> -0500> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> > Bill Luebkert
> wrote:> >Roode, Eric wrote:> >> Thanks, Bill.> >> > >> However, File::DosGlob
> does not appear to work if any of the path > >> components contain spaces.>
> >> (Which, in the actual case I was working on, they do).> >> >Must have a
> bug - you can still use regular glob with /'s instead of> \'s as described in
> last post.> > > Yes, that's true. Although a little experimentation shows
> that> the spaces have to be prefixed with backslashes for glob() to work>
> properly.> > So it looks like I'll have to take the user's input and>
> tr/\\/\//;> s/ /\\ /g;> > Sound about right?> > Eric>
> _______________________________________________> ActivePerl mailing list>
> [email protected]> To unsubscribe:
> http://listserv.ActiveState.com/mailman/mysubs
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs