Folders

General FreeBASIC programming questions.
Post Reply
Tusike
Posts: 207
Joined: Jan 03, 2008 16:53
Location: Hungary

Folders

Post by Tusike »

Hi!

I was wondering if anyone new an easy way to create and delete folders.
Thanks!

-Tusike
duke4e
Posts: 717
Joined: Dec 04, 2005 0:16
Location: Varazdin, Croatia, Europe
Contact:

Post by duke4e »

Code: Select all

shell "md foldername" ' make folder
shell "rd foldername" ' remove folder
Tusike
Posts: 207
Joined: Jan 03, 2008 16:53
Location: Hungary

Post by Tusike »

Thanks for the quick answer, that's all I needed.

-Tusike
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

You can use FreeBASIC Commands

RmDir "MyOldFolder"
MkDir "MyNewFolder"

http://www.freebasic.net/wiki/wikka.php ... KeyPgMkdir
http://www.freebasic.net/wiki/wikka.php ... KeyPgRmdir

Joshy
Post Reply