forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


@shortname error

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
geicsge
Newbie


Joined: 27 Feb 2009
Posts: 19

PostPosted: Sat Oct 03, 2009 10:39 pm    Post subject: @shortname error Reply with quote

Example:

Code:
info @shortname(C:\Documents and Settings\Administrator\Local Settings)


returns

C:\DOCUME~1\Administrator\Local Settings

It is NOT ok...

It must be something like this:

C:\DOCUME~1\ADMINI~1\LOCALS~1

OS: Windows XP SP3
VDS 6.0


Last edited by geicsge on Sun Oct 04, 2009 9:11 pm; edited 2 times in total
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Oct 04, 2009 12:13 am    Post subject: Reply with quote

Hmmm... I'm on Vista so I don't have that path but, I did try this though:
Code:
info @shortname(C:\Program Files\Microsoft Visual Studio 9.0\Visual Studio Tools for Office)


Result = C:\PROGRA~1\MICROS1.0\VISUAL~1

Note: Used VDS 5 & 6
Back to top
View user's profile Send private message Send e-mail
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Wed Oct 07, 2009 12:45 pm    Post subject: Re: @shortname error Reply with quote

geicsge wrote:
OS: Windows XP SP3
VDS 6.0
Exactly the same here.

But this:
Code:
info @shortname(C:\Documents and Settings\Administrator\Local Settings)

Correctly returns this:
Code:
C:\DOCUME~2\ADMINI~1\LOCALS~1

_________________
cheers

Dave
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Wed Oct 07, 2009 5:49 pm    Post subject: Reply with quote

I get 'C:\DOCUME~1\Administrator\Local Settings' in XP with VDS 5 also.
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Wed Oct 14, 2009 3:05 am    Post subject: Reply with quote

geicsge,

Sounds like your system may be set to disable 8.3 name creation in which case the VDS shortname function did return the correct path as no short alternative path exists. To test this theory check the following registry value:

Registry Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Value Name: NtfsDisable8dot3NameCreation
Dword [0 = Enabled (default) / 1 = Disabled]

Bill
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group