|
|
|||||||
Greetings! Please add a feature to be able to get the long filename of @scriptname! It would greatly assist in writing generic code that can for example: read an exactly the same filename ini file write an exactly the same filename logfile etc etc Please!!! Regards, Yogi |
||||||||
|
|
|||||||
@scriptname already returns the complete name of the script. At least in my case it does. This script saved as abc --> z012 --> 9 twice (78 characters) works just fine. Code: Break on @SCRIPTNAME ?"Lenght of the scriptname is: " Len(@SCRIPTNAME) Sleep 5 |
||||||||
|
|
|||||||
@scriptname returns a dos 8.3 format filename, thus y:\oneyogibackup.kix is displayed as y:\oneyog~1.kix (kix 4.53) |
||||||||
|
|
|||||||
I have to confirm Mart Created a script: C:\This is a very deep folder\This is a very long file name.kix also U:\This is a very deep folder\This is a very long file name.kix The last is a network drive, like I presume is your y: Code: BREAK ON @SCRIPTNAME ? @KIX ? Get $SO Code: This is a very long file name.kix 4.53 |
||||||||
|
|
|||||||
Probably 8.3 on win98 or something. |
||||||||
|
|
|||||||
OK oneYogi, My OS = Windows XP And yours? |
||||||||
|
|
|||||||
Windows XP SP2 |
||||||||
|
|
|||||||
Sorry, forgot to add the fact that I also have SP2 Windows XP SP2 Language = English (that should not be an issue, but I don't know where your problem originates) |
||||||||
|
|
|||||||
Goodday to you all! @scriptname works correctly - I used the wrong parameter in my editor (ultraedit) - "wkix32 %F" instead of "wkix32 %f" - which loads the shortname to kixtart. Thank you all very much for the reponses! Regards Yogi |