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 » U++ Library support » U++ Library : Other (not classified elsewhere) » creating path
creating path [message #17198] Sat, 02 August 2008 00:59 Go to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

hello all i wish this is the right place for my question

is there is a function that i give it a path and it creates it like
createpath("C:/downloads/math/");


and it makes these folders

as when i used

savefile function to save a file it didn't create the path when it didn't find it
Re: creating path [message #17199 is a reply to message #17198] Sat, 02 August 2008 06:27 Go to previous messageGo to next message
zaurus is currently offline  zaurus
Messages: 42
Registered: May 2006
Member
Hi!

There is RealizePath and RealizeDirectory.

It checks if the given directory exists and if it doesn't exist it will be created. If you are sure that it doesn't exist you can directly create a directory with DirectoryCreate.

You can find many useful functions to handle files and directories in Path.h. Have a look there.

Zaurus
Re: creating path [message #17200 is a reply to message #17199] Sat, 02 August 2008 08:05 Go to previous messageGo to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

thaaaaaanks alot

but do you know where can i find documentation for Web.h functions
Re: creating path [message #17216 is a reply to message #17200] Sun, 03 August 2008 06:28 Go to previous message
zaurus is currently offline  zaurus
Messages: 42
Registered: May 2006
Member
Sorry. Documentation is a little bit limited in U++ at the moment, but the functions in Path.h are pretty easy to understand.
Previous Topic: adding link
Next Topic: Time difference
Goto Forum:
  


Current Time: Thu Mar 28 23:05:42 CET 2024

Total time taken to generate the page: 0.00862 seconds