At 10:22 27.06.2001 -0500, Daryl Hoyt wrote: >Hi, > I am writing a script to be used on Windows and many different flavors >of Unix. I am looking for a good way to convert Unix paths to Windows. Any >Ideas????? What do you mean exactly. If you just mean converting "\" to "/" and getting rid of the drive you can do this: my $sPath = "C:\\foo\\bar"; $sPath =~ s/^[a-z]+://i; $sPath =~ s/\\/\//g; print $sPath; Aaron Craig Programming iSoftitler.com
- Converting Unix paths to windows Daryl Hoyt
- Re: Converting Unix paths to windows Aaron Craig
- Re: Converting Unix paths to windows Hasanuddin Tamir
- RE: Converting Unix paths to windows Robin Lavallee (LMC)
- Re: Converting Unix paths to windows Chuck Ivy
- Re: Converting Unix paths to windows Michael Fowler