Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Spaces in folder name

807591Apr 30 2008 — edited Apr 30 2008
Hi,

There is a file in system temp directory, when I am using getAbsolutePath() to get that file's path I m getting spaces in the folder name(C:\DOCUME~1\xxxxxx\{color:#ff0000}Local Settings{color}\Temp\1\xxx.txt).
As of my knowledge I think that the {color:#ff0000}Local Settings{color} should be replaced by {color:#ff0000}LocalS~1{color} or something like that.
This is happening in a particular machine when I am trying it on different machine the space(Local Settings) is not coming.
How to slove this issue? I really need help from someone.I want to know is there any settings in windows by that we can trancate the spaces in folder name?
Please help.

Note: OS is windows 2000

Thanks and Regards,
tan_java.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2008
Added on Apr 30 2008
36 comments
857 views