Jump to content

File Name Store


Recommended Posts

Hi

Is there a way to make a script that search files.(ask for Path to the map)

End it save's all the filenames into a text file.

I need this because i need to put a lot off file names in Notepad document.

Can someone help with this

Thanks

Auto It Ruels

Link to comment
Share on other sites

This will do the trick........

$var = FileSelectFolder("Choose a folder.", "")

If @error Then

MsgBox(4096,"","No Folder chosen")

Else

RunWait(@ComSpec & ' /c ' & 'dir "' & $var & "\*.*" & '" /a :h /b ' & ' > "' & @TempDir & '\dir.txt"', '', @SW_HIDE)

MsgBox(4096,"","You chose " & $var)

EndIf

Enjoy!

8)

NEWHeader1.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...