S
sangeetha
Hi,
I'm facing problem in GetShortPathName function.
Case 1:
use Win32;
$shortpath = Win32::GetShortPathName( "c:/program files" );
print "$shortpath";
output: "c:/PROGRA~1"
Case 2:
$x= "c:/program Files/GNU/Case Study 1";
$shortpath = Win32::GetShortPathName($x);
print "$shortpath";
output: (nothing)
Actualy, i'm facing problem in creating the file(s) under the long
directory (including the blank space) name.. so i've writen the above
testcase to test whether the "GetShortPathName" is working or not !!
Can any one help me in this regard?
Thanks in advance
Sangeetha B
I'm facing problem in GetShortPathName function.
Case 1:
use Win32;
$shortpath = Win32::GetShortPathName( "c:/program files" );
print "$shortpath";
output: "c:/PROGRA~1"
Case 2:
$x= "c:/program Files/GNU/Case Study 1";
$shortpath = Win32::GetShortPathName($x);
print "$shortpath";
output: (nothing)
Actualy, i'm facing problem in creating the file(s) under the long
directory (including the blank space) name.. so i've writen the above
testcase to test whether the "GetShortPathName" is working or not !!
Can any one help me in this regard?
Thanks in advance
Sangeetha B