Page 1 of 1 1
Topic Options
#113670 - 2004-02-09 06:27 PM UPPerCase and LowerCASE
@lejo @rias Offline
Starting to like KiXtart

Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
Hi, I need read a file name in this direction:
D:\PROGRAM FILES\PRIVATE\Filenet.acg

and then save in a registry key the value
Filenet.acg
But if the file look like this FiLeNET.acG or any combination of UPPER-lower case, the registry key value must be in that combination...

how I do this???


Edited by @lejo @rias (2004-02-09 06:27 PM)
_________________________
Look always 4 the best...

Top
#113671 - 2004-02-09 06:54 PM Re: UPPerCase and LowerCASE
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Code:

$file='D:\PROGRAM FILES\PRIVATE\Filenet.acg'
$filename=split($file,'\')
$filename=$filename[ubound($filename)]

_________________________
There are two types of vessels, submarines and targets.

Top
#113672 - 2004-02-09 07:45 PM Re: UPPerCase and LowerCASE
@lejo @rias Offline
Starting to like KiXtart

Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
Result the same style string:
$file='D:\PROGRAM FILES\PRIVATE\Filenet.acg'

but not how be in the directory,
I need read the directory file name if the name have any combination of upper-lower case, then create a registry key value with the same value...
_________________________
Look always 4 the best...

Top
#113673 - 2004-02-09 08:51 PM Re: UPPerCase and LowerCASE
@lejo @rias Offline
Starting to like KiXtart

Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
I found UDF dirlist and filterarray, now work fine.

tks
_________________________
Look always 4 the best...

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 302 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.053 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org