CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
fails to execute command with umlaut characters !


New User

Sep 11, 2003, 3:51 AM

Post #1 of 1 (956 views)
fails to execute command with umlaut characters ! Can't Post


Somebody help me in getting the current directory(case corrected) in windows through perl. I've tried getcwd() but that doesnt correct the case of the directory properly. Also its should detect name properly eventhough it contains umlaut characters.

The background/ requirement is like this

I've been using a statement like: $dir_name = `\@echo off \&\&cd \\ \&\&cd \"$dir_name\" \&\& cd`; This was used basically to get the case corrected directory path which is there in $dir_name. But if the path contains any german character like ",,," this statement fails. I'm looking for a workaround for this. I searched for a perl function which can do the same thing. But I couldnt find one. Regards, Vinod Das


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives