Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to delete the files in the internet temporary files ..

Location is "C:\Documents and Settings\users\Local Settings\Temporary Internet Files"

if i try to delete from the files it not showing .

i use cmd prompt to delete it..

but if i try to search the files the cmd prompt shows file or path not found..

how to delete these files using any language ..

c,c++,vbs,vc++
Posted

The first thing you need to do is check that the path you are looking at is a valid path and contains the files that you are interested in. Pasting the above directory path into Windows Explorer should confirm that; you may also need administrator privileges to access it. Once you have checked the above you should be able to navigate there in command prompt and test whether you can delete files or not.

BTW, I have just checked on my XP system and there is no directory named "users" below C:\Documents and Settings.
 
Share this answer
 
Comments
@BangIndia 11-Oct-11 5:49am    
That users that belongs to the correct users..
for me .
c:\Documents and settings\admin\..
like that it will go.
Richard MacCutchan 11-Oct-11 6:04am    
OK, and have you checked that you have admin privileges, the path exists, and that you can delete files from it?
@BangIndia 11-Oct-11 8:57am    
no. .i have admin privilage. even though i can't ..
Richard MacCutchan 11-Oct-11 11:24am    
Can't what? Please think about the questions I posed to you and answer them all in proper technical terms and detail. I cannot observe your monitor, nor can I make guesses about what is happening on your system.


Hi
you need to run your command as a high elevated priviledge user.
look at this msdn article about ShellExecute function, solution is posted right there :

http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153%28v=vs.85%29.aspx[^]

best regards!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900