Top "Getfiles" questions

getFiles() not folders

I've got several files in a temporary folder. I can load them into Photoshop with scripting the following: var sourceFolder = …

javascript photoshop-script getfiles
How can I make GetFiles() exclude files with extensions that start with the search extension?

I am using the following line to return specific files... FileInfo file in nodeDirInfo.GetFiles("*.sbs", option) But there are …

c# .net file-extension getfiles filepattern
Populate Listbox with directory contents but only accept certain extensions

So, basically I drag in a folder onto the form, and a Listbox populates with the paths of the files …

vb.net path drag-and-drop listbox getfiles
find most recent file in directory

I'm trying to load the most recent file from a directory, but my following code doesn't work. Am i getting …

vb.net getfiles
Directory.GetFiles: Show only files starting with a numeric value

How can i get the Directory.GetFiles to only show me files starting with a numeric value (eg. 1abc.pdf); …

c# getfiles
Get directory where executed code is located

I know that in the same directory where my code is being executed some files are located. I need to …

c# .net getfiles
VB.NET: GetFiles Method - "Access to the path 'G:\System Volume Information' is denied."

Here is my code, Dim allFiles As FileInfo() = tempDir.GetFiles("*.pdf", SearchOption.AllDirectories) I've googled and found that I need …

vb.net path unauthorized getfiles