Results 1 to 3 of 3

Thread: I need to rename a lot of files

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    1

    Question

    I need to know how I can rename files.
    Thats all, very simple you would think.

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620

    Code:
    Name "C:\Thing.exe" As "C:\Thing2.exe"
    Gl,
    D!m
    Dim

  3. #3
    Guest
    You need a filelistbox. And you can use the Name function.

    Code:
    Name "C:\myfile.txt" As "C:\thafile.txt"
    FileListBox code:

    Code:
    On Error Resume Next
    File1.ListIndex = 0
    For i = 0 to File1.ListCount
    Name File1 As File1 & File1.ListIndex
    File1.ListIndex = File1.ListIndex + 1
    Next i

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width