Getting path of the file
Newbie, of course..
I want to rightclick some picture in Windows Explorer, choose "Resize" action (which I added there) thus starting console application that will, obviously, resize the pic.
I made the app and it works.
But the problem is how do I get the full path of the picture. I do get the name of the file (args[0]), but I dont know how to get the path.
Another thing: is there any way I could hide the (annoying) console window which appears when I call the application?
Thanks in advance
|