Tuesday, 15 July 2014

loops - AutoHotKey how to know the retrieved path is for a file or folder? -


I want to know about making Aoacke that I use the loop, Failpatton to retrieve a set of files and folders I am sending a message to me if this is a folder and if it is a folder then leave it?

file gaterate

reports that a file or folder is only To read, is hidden, etc.

However, you can use it to determine whether there is a folder or file. / P>

Example

  MyPath: = "C: \ Windows" FileGetAttrib, MyAttributes,% MyPath% if InStr (MyAttributes, "D") MsgBox I have a folder other messages I Is a file  

source:


No comments:

Post a Comment