Re: Change Directory
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 11, 2002
- 445 views
> > Hey! Thanks Don... Using current_dir() returns "C:" right off the bat, > > which > > is wrong! I guess I'll need to parse command_line()[2]... :( > > Sorry about that, I dont know why it isnt working correctly. I pasted > this into a dummy program and ran it from four different directories in > three different drives with no issues... > > ===== > include file.e > > printf( 1, "'%s'\n", {current_dir()} ) > atom break > ===== Worked fine for me from whatever directory... problem is: I'm running the program from the UltraEdit program, so I figure my problem is there! That'll be a pain in the butt, having to leave the editor just to run the program. <growl>