goldenix Posted May 28, 2010 Share Posted May 28, 2010 (edited) File or folder can have random dots in the file name. What if I want to drag & drop a folder or a file into the GUI. Does autoit have a function that can distinguish between file or folder? Is there a sure way to determine whether its a folder or not? Edit: thnx $attrib = FileGetAttrib($File) If $attrib = 'D' Then do stuff... Edited May 28, 2010 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
99ojo Posted May 28, 2010 Share Posted May 28, 2010 Hi, yes there is. See FileGetAttrib ( ). ;-)) Stefan 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