Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » File Operation
File Operation [message #38646] Tue, 01 January 2013 06:46 Go to next message
g.nimesh118 is currently offline  g.nimesh118
Messages: 2
Registered: January 2013
Location: kutch
Junior Member
Can anyone please tell me that how to get a list of files and folders on specific path,..????

[Updated on: Tue, 01 January 2013 09:54]

Report message to a moderator

Re: File Operation [message #38647 is a reply to message #38646] Tue, 01 January 2013 07:39 Go to previous messageGo to next message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
g.nimesh118 wrote on Tue, 01 January 2013 06:46

Can anyone please tell me that how to gate a list of files and folders on specific path,..????


Did you try these?
FileSel: Dialog for selecting files or directories.
FileSelPreview
SelectFile
File path utilities
FileSel based utility functions
Also FileSelector


regards,
navi

[Updated on: Tue, 01 January 2013 07:57]

Report message to a moderator

Re: File Operation [message #38648 is a reply to message #38646] Tue, 01 January 2013 09:45 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 264
Registered: March 2010
Experienced Member
Hi,

#include <Core/Core.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	FindFile ff;

	if ( ff.Search ("c:\\*.*" ) )
		do
		{
			if ( ff.IsFile() )
			{
				LOG("File :" << ff.GetName());
			}
			else
			if ( ff.IsFolder())
			{
				
				LOG("Dir :" << ff.GetPath());
			}
			else
			{
				LOG("?? :" << ff.GetPath());
			}
		}
		while ( ff.Next() );
}



Regards,
omari


regards
omari.

[Updated on: Tue, 01 January 2013 09:47]

Report message to a moderator

Re: File Operation [message #38649 is a reply to message #38648] Tue, 01 January 2013 09:53 Go to previous message
g.nimesh118 is currently offline  g.nimesh118
Messages: 2
Registered: January 2013
Location: kutch
Junior Member
thank you :)It helped
Previous Topic: Ideas and priorities for the next development cycle
Next Topic: Is EasyHook or any other hooking library supported by U++ ?
Goto Forum:
  


Current Time: Thu Mar 28 18:14:25 CET 2024

Total time taken to generate the page: 0.01749 seconds