Skip to main content
gamedev.net
🔒 Locked

Creating a folder

Started by mits Mar 3, 2004 at 3:55 AM 0 replies 200+ views
Original Post
mits
mits
How is possible to create a folder through code in C++ and generally how can I execute commands from my code? Thanks
Teh Evil
Teh Evil
depends on platform

C Standard library has the header, < direct.h >

where there are functions for creating directories. and managing directories in general...

win32 has a direct OS function CreateFolder() where you specify all security attributes...


for executing commands... depends on platform again

stanard c = exec*() // check c help
win32 = WinExec() // fast execution...
win32 = CreateProcess()


That Was Teh Evil ^^

[edited by - teh evil on March 3, 2004 5:08:27 AM]
That Was Teh Evil ^^

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.