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...Examples requested

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


Joined: 16 Sep 2002
Posts: 105

PostPosted: Thu Oct 24, 2002 8:44 pm    Post subject: @SHORTNAME...Examples requested Reply with quote

Much appreciation for examples of using @SHORTNAME

I am having trouble with win95 and 98 executing files with long filenames.

Example:

Shell open,C:\Windows\Program Files\My File\Very Long Name.exe /switch

The System Reponse = can not locate file

Thanks, nt
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Oct 24, 2002 9:42 pm    Post subject: Reply with quote

First of all, if you want to pass on commandline parameters with the SHELL open command then remember
to put a comma between the filename and the parameter(s):

Code:
Shell open,C:\Windows\Program Files\My File\Very Long Name.exe,/switch


If you don't, you'll get errors like the one you described. Normally you shouldn't have to use @shortname here.

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Oct 24, 2002 10:22 pm    Post subject: Reply with quote

It's also not a bad idea to enclose filenames with
spaces in quotes:

"C:\Windows\Program Files\My File\Very Long Name.exe"

This is prolly more important when using the RUN
commands without shortname.

To use @shortname():

RUN @shortname(C:\Windows\Program Files\My File\Very Long Name.exe)

Cheers, Mac Smile
__________________________________________________________________________________________________________________________

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Fri Oct 25, 2002 1:44 am    Post subject: thank you Reply with quote

Thanks, Mac and Dr Dread...

The team on this forum are ggggreat,

as Tony the Tiger would say, I would also agree!

Thanks again. nt
Back to top
View user's profile Send private message
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