Change and create directory with chdir/mkdir

4 posts / 0 new
Last post
AmigaBlitter
AmigaBlitter's picture
Offline
Last seen: 3 years 3 months ago
Joined: 2012-02-18 19:55
Change and create directory with chdir/mkdir
Hello everyone. Any example to use chdir to change directory and to use mkdir to create directory? thank you very much
jabirulo
jabirulo's picture
Offline
Last seen: 3 days 2 hours ago
Joined: 2013-05-30 00:53
Re: Change and create directory with chdir/mkdir
chdir: http://pubs.opengroup.org/onlinepubs/009695399/functions/chdir.html mkdir: url]http://pubs.opengroup.org/onlinepubs/009695399/functions/mkdir.html[/url] Uses mkdir/chdir function in its sources: http://www.os4depot.net/share/utility/archive/unlzx.tar.gz http://www.os4depot.net/share/network/server/ftp/ftpd.lha Can't you (change to) use amigaos versions SetCurrentDir() and CreateDir()?
AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P
AmigaBlitter
AmigaBlitter's picture
Offline
Last seen: 3 years 3 months ago
Joined: 2012-02-18 19:55
Re: Change and create directory with chdir/mkdir
Thank you for the reply. Found the CreateDir() function, but didn't noticed SetCurrentDir(). Any example on how to use those two Amiga Api?
jabirulo
jabirulo's picture
Offline
Last seen: 3 days 2 hours ago
Joined: 2013-05-30 00:53
Re: Change and create directory with chdir/mkdir
AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonHD6570/SSD120GB/DVDRW :-P
Log in or register to post comments