
vrdas
New User
Sep 11, 2003, 3:51 AM
Post #1 of 1
(663 views)
|
fails to execute command with umlaut characters !
|
Can't Post
|
|
Hi, 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
|