Hi,
I have a application, in which I want to access the folder on Windows7 and VS2010 development environment. Based on the input commend (eg: dir, ls, etc) the folder is accessed. If the user is denied for access then it should not allow even if the user is"Administrator". In my existing application I am firing the command thru system() function which behaves correctly. How ever for new modification I don't want to use sytem() function so as a replacement I am using FindFirstFile(), FindNextFile(), _stat64(). I want if the administrator is denied access to a particular folder on the same machine then it should not access the folder. FindFirstFile(), FindNextFile(), _stat64()which is leading to a wrong behavior.
Please let me know whether this can be achieved for "Administrator" user.
Thanks in Advanvce..!!