changing the directory using c

Started by prashantonline, November 15, 2009, 09:29:00 AM

Previous topic - Next topic

prashantonline

Sir, i want to know that is it possible to change the directory using dos commands in c?

TimoVJL

From PellesC help:

Purpose:
Changes the current working directory.

Syntax:
int _chdir(const char *name);

Declared in:
<direct.h>
May the source be with you