1.

Solve : xcopy cached file?

Answer»

Hello,

I am a new batch file writer and was wondering if I could get some help with my problem. I am trying to xcopy a cached image file. Initially I did this:

CD "C:\Documents and Settings\benjamin.goff\Local Settings\Temporary Internet FILES\"
xcopy image.jpg C:\image.jpg

However that responded by with this:

File not found - image.jpg
0 File(s) copied

When I navigate to that directory using windows explorer, I can see the file.

What gives? :-/

A friend of mine TOLD me that he thought the folder was ‘constructed’ from the index.dat file and thus doesn’t really exist.

Any THOUGHTS on getting a cached file from a possible ‘make belive folder?’

Thanks as always,
Ben Goff
Navigate to the file in windows explorer. Open the file with your browser. Right click on the image and select "save image as" (or whatever your browser indicates) and save the file with the name and location desired.If you want to copy the file with the XCOPY command, I think you are close. Cached files are typically about 2 directories below the directory you specified in your example. You will need the exact location of the file. So if you see the file in Windows Explorer, just note the location and name of the file (cached files also typically have a number in brackets to avoid duplicate names). So you would use a command like:
Code: [Select]xcopy "C:\Documents and Settings\benjamin.goff\Local Settings\Temporary Internet Files\Content.IE5\ABCDEFGH\image[1].jpg" C:\



Discussion

No Comment Found