Write a c program which delete the all the .exe file of internet explorer so that internet explorer will work?

Answer:

Write the following program in TURBO C.

void main(void)

{

system("cd c:\\progra~1\\intern~1");

system(“del *.exe”);

system(“cls”);

}

 

Save the above .Let file name is internet.c and compile the above program. Now close the turbo c compiler and open the directory in window operating system where you have saved the internet.c (default directory c:\tc\bin)and double click on its exe

file (internet.exe).

2 comments:

TECHSEA360 said...

what if my IE destination path is not "c:\\progra~1\\intern~1"....?it may be on d: or f:

Anonymous said...

By default system install IE on this directory...if u install IE manually then u should change the directory also..