madflame991 Posted August 30, 2008 Share Posted August 30, 2008 Hello Is there any way to choose the directory where I want to use FileFindFirstFile/ FileFindNextFile? I've searched the help file but found nothing... Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
Andreik Posted August 30, 2008 Share Posted August 30, 2008 FileSelectFolder() When the words fail... music speaks. Link to comment Share on other sites More sharing options...
madflame991 Posted August 30, 2008 Author Share Posted August 30, 2008 (edited) FileSelectFolder()tried that, it only returns the selected folderthx anyway (mersi, acum m-am uitat la tara) Edited August 30, 2008 by madflame991 Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
Andreik Posted August 30, 2008 Share Posted August 30, 2008 tried that, it only returns the selected folderthx 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. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
madflame991 Posted August 30, 2008 Author Share Posted August 30, 2008 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/ FileFindNextFilefilele doriteMa 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 Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
Andreik Posted August 30, 2008 Share Posted August 30, 2008 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) When the words fail... music speaks. Link to comment Share on other sites More sharing options...
madflame991 Posted August 30, 2008 Author Share Posted August 30, 2008 Am gasit FileChangeDir('e:\') schimba @workingdir Mersi, sunt curios daca mai sunt multi dev romani in autoit... Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
Andreik Posted August 30, 2008 Share Posted August 30, 2008 (edited) Am gasit FileChangeDir('e:\') schimba @workingdirMersi, 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 August 30, 2008 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now