Re: Change Directory

new topic     » goto parent     » topic index » view thread      » older message » newer message

> > 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>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu