I can't get Subfolder's name 
Author Message
 I can't get Subfolder's name

My name is Tonai

I live in Japan

I can't get subfolder's name.

It is written by Japanese code.

My OS is Win 95.

Dim fs, f, f1, fc, s, f2
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set f = fs.GetFolder(folderspec)
    Set mytxt = fs.CreateTextFile ("C:\sample\sample.txt",True)    
    Set fc = f.SubFolders    
For Each f1 in fc
 s = f1.name
       mytxt.WriteLine (s)

Thu, 03 May 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Getting the user's logon name and computer name

2. Getting client side machine's name.

3. Getting a dictionay's name

4. Getting name of the user's computer

5. Getting client side machine's name.

6. Getting the name of user's computer

7. Getting .AFM's from .PFB's (was Re: PS Type1 fonts)

8. Object required: 'f.Name'

9. A folder named '...'

10. 'Canned' data in VB program

11. Runtime error ''800a01b6''

12. VBScript 'private'/'public'


Powered by phpBB® Forum Software