Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Posts
    1
    Plugin Contributions
    0

    Default mass way to add download file name...?

    I have zen setup with over 350 download products using easy populate. I also have added the 'download' attribute to all the products.

    Is there a mass or fast way to all the download file name?

  2. #2
    Join Date
    Jul 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: mass way to add download file name...

    you could use the folder look up which goes
    '------------------------------

    Function ShowFolderList(folderspec)

    Dim fso, f, f1, s, sf, n

    Set fso = CreateObject("Scripting.FileSystemObject")

    Set f = fso.GetFolder(folderspec)

    Set sf = f.SubFolders

    n = 1

    For Each f1 In sf

    s = f1.Name

    Cells(n, 2).Value = s

    n = n + 1

    Next

    ShowFolderList = s

    End Function

    'Run this to get things started.

    'x must have a valid path

    Sub MakeTheList()

    Dim x As String

    x = "C:\Documents and Settings\user\My Documents\folder name"

    Call ShowFolderList(x)

    End Sub
    or just concatenate in excel.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 27 Oct 2011, 11:38 PM
  2. Download fetch changes the file name
    By davidwenkuisz in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Mar 2010, 01:20 AM
  3. Add Order ID# and Customer Name to PDF Download
    By chrismarie in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 26 Feb 2010, 02:24 PM
  4. truncate file download name help please?
    By bonnit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Sep 2009, 10:20 AM
  5. How to change download file name
    By carlitog in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 14 Mar 2007, 08:19 PM

Posting Permissions

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