Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REQUEST simple ex. of Folder filenames to variables
#4
Gintaras, as ALWAYS I truly appreciate your help!!!

What I actually need is a variable for each/every filename in a folder, so that if a folder had these three files

file1.txt
file2.txt
file3.txt

the result would be three variables: var1, var2, var3 (var1 = file1.txt; var2 = file2.txt; & var3 = file3.txt)

The result of the examples you provided appear to yield only one variable, that being for the last file treated by the 'foreach' function.

You mentioned "Or use function GetFilesInFolder and pass variables as its second and third arguments" but after looking through the documentation I can't figure out how to do this???

Thanks Again


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)