In windows, when a file is opened with the default program, is argument0(args[0]) the filepath.
In windows, when a file is opened with the default program, is argument0 the filepath
Started by liamzebedee, May 17 2011 03:04 AM
1 reply to this topic
#1
Posted 17 May 2011 - 03:04 AM
|
|
|
#2
Posted 17 May 2011 - 08:51 AM
In C++, argv[0] contains the path to the executable for the currently running program. However, in Java, args[0] contains the first user-specified argument.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









