Re: Current Working Directory
- From: Benoît Touron <b touron citb bull net>
- To: Nick Watts <fatalglory gmail com>, gtk-app-devel-list gnome org
- Cc:
- Subject: Re: Current Working Directory
- Date: Wed, 17 Aug 2005 10:04:52 +0200
Nick,
Use GetCommandLine and extract the path your app is in (might be a bit
tricky though).
Use SetCurrentDirectory to change the current dir.
Ben
Writing a GTK app under win32. When I use "Open With" to open
a file with my app, the current working directory is the one the file
is in rather than the one my app is in.
How can I set the cwd to the path my app is in?
Cheers
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]