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 


Help with Shortname function in 5.0

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
bjdavis
Valued Newbie


Joined: 03 Jan 2002
Posts: 28
Location: Jacksonville, FL

PostPosted: Fri Jul 18, 2003 6:31 pm    Post subject: Help with Shortname function in 5.0 Reply with quote

Can anyone explain to me why I get nothing from the variable %%shortpath in the code below?

Code:
%%longpath = c:\my documents\text.txt
%%shortpath = @shortname(%%longpath)
info LP = %%longpath@cr()SP = %%shortpath

_________________
B.J. Davis, MCSE
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Jul 18, 2003 6:42 pm    Post subject: Reply with quote

Quote:
This function returns a DOS-compatible short filename version of the file path <file description> if it exists.


Are you sure the file exists?

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
bjdavis
Valued Newbie


Joined: 03 Jan 2002
Posts: 28
Location: Jacksonville, FL

PostPosted: Fri Jul 18, 2003 6:47 pm    Post subject: It's the little details Reply with quote

Mad Mad Mad Mad

Stupidity seems to be my theme for the day.

thanks for the slap in the face. Rolling Eyes

_________________
B.J. Davis, MCSE
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Jul 18, 2003 6:55 pm    Post subject: Reply with quote

I also didn't know until I read the helpfile... Wink

Btw. I've put the smileys on in your post... It's looking much better this way... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
bjdavis
Valued Newbie


Joined: 03 Jan 2002
Posts: 28
Location: Jacksonville, FL

PostPosted: Fri Jul 18, 2003 6:59 pm    Post subject: Reply with quote

Ah yes another RTFM Exclamation
thanks for the Smiley Adjustment.

_________________
B.J. Davis, MCSE
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Jul 18, 2003 7:23 pm    Post subject: Reply with quote

RTFM? Remember To Forget Montly? Confused Laughing
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
bjdavis
Valued Newbie


Joined: 03 Jan 2002
Posts: 28
Location: Jacksonville, FL

PostPosted: Fri Jul 18, 2003 7:36 pm    Post subject: Reply with quote

OR

RTFM = Read the F _ _ _ i n g Manual Exclamation

_________________
B.J. Davis, MCSE
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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