i want to modify the H:\WINDOWS\system32\drivers\etc\hosts file. i have write the file handling program in C. i have use the fprintf to writing data in the file. the program executed properly but there is no change when i copy this file in another location it edited properly. i thik the file is used by another process how can i edit the file through C..
please give any suggestion...