Can anybody tell me if it is possible, using FNXBasic, to list all the "Folder Names" inside a given "Folder".
For example,
Say I had a folder called "C:Test"
I want to list all the folders that are inside this folder
eg [For example only!!!!]
C:TestFred
C:TestHarry
etc etc
Many thanks in advance!!!!
List "Folder Names" to listbox
List "Folder Names" to listbox
hi, maybe you have to study this console example, i think it does what you`re looking for.
best regards
`folders of folders
dim foldername as string
dim returnstr as string
dim a as string
foldername="c:windows*.*"
returnstr=findfirst$(foldername)
if fileinfo$(4)="16" then print returnstr
while returnstr<>""
returnstr=findnext$
if fileinfo$(4)="16" then print returnstr
wend
print "Strike a key to end"
while inkey$="":wend
best regards
`folders of folders
dim foldername as string
dim returnstr as string
dim a as string
foldername="c:windows*.*"
returnstr=findfirst$(foldername)
if fileinfo$(4)="16" then print returnstr
while returnstr<>""
returnstr=findnext$
if fileinfo$(4)="16" then print returnstr
wend
print "Strike a key to end"
while inkey$="":wend