Files in servermap

M

Maarten

Hi, i'm a VB programmer and now i need to work on a Linux server. So no ASP
but Javascript.

I need to retrieve a list of all then files containing the word 'small'.

With others words. In the map ..\Images\ are files like JPG001_small.jpg
and JPG001.jpg
I need list of all the ones with 'small'.

In VB its something like


Dim pct as Long
Dim List

pct = -1

Response = DIR ("*small*)

Do While Response <> ""
pct = pct + 1
List(pct) = Response
Response = DIR
Loop

Can somebody help me?
Thx.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,099
Messages
2,570,626
Members
47,237
Latest member
David123

Latest Threads

Top