Re: Change Directory
- Posted by Kat <kat at kogeijin.com> Nov 11, 2002
- 464 views
On 11 Nov 2002, at 10:24, C. K. Lester wrote: > > How do I change the current directory to the directory from which the > program executed? I'm looking at command_line()[2] but then I have to parse > out > the program name. Isn't there just a chdir() command? I don't want to do a > system call, either. Although I don't know why not. Anyway... anybody? I use: junk = chdir("D:\\irc_Tiggr\\Eu webgetter tcp4u\\") Kat