#81380 - 2002-11-27 12:15 AM
Re: Need ShortFileName("File") Function
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
If you surround the 'long' filename by double quoutes and use 'Start' the short filename will be translated correctly!
Example:
code:
Shell '%COMSPEC% /C Start ProfGen "C:\Long name for directory\Long filename.ini"'
-Erik
|
Top
|
|
|
|
#81384 - 2002-11-27 05:14 AM
Re: Need ShortFileName("File") Function
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Profgen?
Have used it fine with LFNs..
If you are having trouble, have you tried surrounding your LFN with ""'s. In other words:
This is a long filename
to be:
"This is a long filename"
HTH,
Kent
|
Top
|
|
|
|
#81388 - 2002-11-27 11:25 AM
Re: Need ShortFileName("File") Function
|
Lee Wilmott
Starting to like KiXtart
Registered: 2002-09-17
Posts: 106
Loc: Bristol, UK
|
|
Top
|
|
|
|
#81396 - 2002-12-07 11:18 AM
Re: Need ShortFileName("File") Function
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
On this forum we had made also a request about shortcut names (KIX-FUNCTION: con- version of long/short filenames to short/long filenames). At this moment Ruud doesn't implement something like that.
It looks like that a lot of new suggestions are copies of old ones. Possible that someone can reread this forum about all interesting suggestions, which aren't implementing at this moment. As list we can ask Ruud for his comment about it. In some situation he had return already comment on some of those oldies. greetings.
(TO_DO) [ 07. December 2002, 11:25: Message edited by: MCA ]
|
Top
|
|
|
|
#81398 - 2002-12-07 02:31 PM
Re: Need ShortFileName("File") Function
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
We know, but it isn't in a very readable format for Ruud. greetings.
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 149 anonymous users online.
|
|
|