life Posted June 9, 2008 Share Posted June 9, 2008 how to scan a file in a directory ?? Link to comment Share on other sites More sharing options...
d4rk Posted June 9, 2008 Share Posted June 9, 2008 Scan what ? if you wan to know how many files in a folder , look _DirGet() [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
life Posted June 9, 2008 Author Share Posted June 9, 2008 basically i wanna scan all file in the directory that the script is in and output in on a file.. which 1 containing the filename 2 the directory start from the script location 3 and the file size.. im making a patcher.. thx for the hint.. Link to comment Share on other sites More sharing options...
d4rk Posted June 9, 2008 Share Posted June 9, 2008 Look HERE to know how to get all file in a folder.look FileOpen(), FileWriteLine(),FileClose()2.@ScriptDir2.FileSize() [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
life Posted June 9, 2008 Author Share Posted June 9, 2008 thx.. btw.. is there a manual that i can refer to that list all function or library or UDF or what ever we call it beside here http://www.autoitscript.com/autoit3/docs/functions.htmwhat i mean is the one that is in the include file in autoit folder.. kinda hard to open 1 by 1 and look for a function Link to comment Share on other sites More sharing options...
FastHelper Posted June 9, 2008 Share Posted June 9, 2008 @ d4rk can you tell me how to get the first Dir of a drive and copy a file into it? sorry for my spelling mistakes. its due to be fast !!! Link to comment Share on other sites More sharing options...
d4rk Posted June 9, 2008 Share Posted June 9, 2008 @FastHelper #include <File.au3> #include <Array.au3> $Path="D:\" $Files=_FileListToArray($Path,"*.*",2);folder only $FirstFolder=$Files[1] MsgBox(64,"","The First Folder Is : " & $FirstFolder) FileCopy("C:\text.txt",$Path & $FirstFolder) [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
d4rk Posted June 9, 2008 Share Posted June 9, 2008 thx.. btw.. is there a manual that i can refer to that list all function or library or UDF or what ever we call it beside here http://www.autoitscript.com/autoit3/docs/functions.htmwhat i mean is the one that is in the include file in autoit folder.. kinda hard to open 1 by 1 and look for a functionI'm afraid not, you have to do it step by step, until some1 make a UDF for that [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
JRowe Posted June 9, 2008 Share Posted June 9, 2008 (edited) Your help and UDFHelp files are in your AutoIt main directory. Those cover 99% of any questions us newbies have Don't feel bad; It took me a few months to start using them. You'll definitely find things a helluva lot easier, using the help files, though. Edited June 9, 2008 by Jrowe [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] 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