Jump to content

Recommended Posts

Posted (edited)

  Andreik said:

FileSelectFolder()

tried that, it only returns the selected folder

thx anyway (mersi, acum m-am uitat la tara)

Edited by madflame991
Posted

  madflame991 said:

tried that, it only returns the selected folder

thx anyway (mersi, acum m-am uitat la tara)

Explica-mi te rog un pic mai bine ce vrei sa faci, sa te pot ajuta mai mult. ;)

Posted

  Andreik said:

Explica-mi te rog un pic mai bine ce vrei sa faci, sa te pot ajuta mai mult. ;)

Vreau sa modific automat multe file... si sa pot sa imi selectez folderu de unde sa mi le listeze FileFindFirstFile/ FileFindNextFile

filele dorite

Ma descurc in Autoit, nu's nou, dar asta chiar imi scapa si presupun ca are de-a face cu vreuna din macrourile @workingdir sau ceva de genu

Posted

  madflame991 said:

Vreau sa modific automat multe file... si sa pot sa imi selectez folderu de unde sa mi le listeze FileFindFirstFile/ FileFindNextFile

filele dorite

Ma descurc in Autoit, nu's nou, dar asta chiar imi scapa si presupun ca are de-a face cu vreuna din macrourile @workingdir sau ceva de genu

$DIR = FileSelectFolder("Select","")

$search = FileFindFirstFile($DIR & "\*.*")  
If $search = -1 Then
    MsgBox(0, "Error", "No files/directories matched the search pattern")
    Exit
EndIf

While 1
    $file = FileFindNextFile($search) 
    If @error Then ExitLoop
    
    MsgBox(4096, "File:", $file)
WEnd

FileClose($search)
Posted (edited)

  madflame991 said:

Am gasit ;) FileChangeDir('e:\') schimba @workingdir

Mersi, sunt curios daca mai sunt multi dev romani in autoit...

Am vazut cativa useri din Romania pe forum.

PS: Pune un solved la titlu sa stie ca ai gasit solutia, ca am vorbit alta limba.

Edited by Andreik

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
  • Recently Browsing   0 members

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