Sign in to follow this  
XenocidalFate

Default Application file argument?

Recommended Posts

I wrote a simple LUA compiler to use in conjunction with my 2DLua engine, and everything is pretty much done with it. However, I recently noticed that if I set all .lua files to be opened by my program, it would not open them when the .lua files were double-clicked. Currently I have it set so files can be opened through command arguments, I.E. luacompiler.exe C:\test.lua That works fine, yet it wont open files when double-clicked. So how would I go about fetching the filename of the file that called the default application and whatnot?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this