Pelles C forum

C language => Beginner questions => Topic started by: prashantonline on November 15, 2009, 09:29:00 AM

Title: changing the directory using c
Post by: prashantonline on November 15, 2009, 09:29:00 AM
Sir, i want to know that is it possible to change the directory using dos commands in c?
Title: Re: changing the directory using c
Post by: TimoVJL on November 15, 2009, 11:45:04 AM
From PellesC help:

Purpose:
Changes the current working directory.

Syntax:
int _chdir(const char *name);

Declared in:
<direct.h>