Jump to content

how to scan file in a directory


Recommended Posts

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

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

Look HERE to know how to get all file in a folder.

look FileOpen(), FileWriteLine(),FileClose()

2.@ScriptDir

2.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

@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

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.htm

what 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

I'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

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 by Jrowe
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...