Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing drives

Status
Not open for further replies.

kwteckie

Programmer
Mar 3, 2004
2
CA
is there any way of using effective library functions in c to change drives?

my current working directory was d:/myprograms and i was trying in my code to go to my c: drive and system("c:"); didn't work....
can anybody explain?
 
Check your compiler documentation
[tt]chdrive()
chdir()[/tt]
are functions you can use IIRC

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top