The SetCurrentDirectory function changes the current directory for the current process.
BOOL SetCurrentDirectory(
|
LPCTSTR lpPathName |
// address of name of new current directory |
|
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Each process has a single current directory made up of two parts:
| file: /techref/os/win/api/win32/func/src/f77_18.htm, 2KB, , updated: 2001/6/24 03:45, local time: 2010/3/20 08:14,
38.107.191.111:LOG IN
|
| ©2010 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f77_18.htm"> SetCurrentDirectory</A> |
| Did you find what you needed? |
|
o List host: MIT, Site host massmind.org, Top posters @20100320 ivp, Vitaliy, Russell McMahon, Xiaofan Chen, Dario Greggio, Wouter van Ooijen, Alan B. Pearce, Bob Blick, YES NOPE9, M. Adam Davis, * Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Shultz Electronics, Timothy Weber, on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
|
.