Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
DOS/PDA/Other
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor network networking outlook problem processor ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
Compiled Bat File - Hang Problem when cleaning Temporary Internet Files

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
scrfix's Avatar
Computer Specs
Senior Member with 269 posts.
 
Join Date: May 2009
Experience: Computer Repair Expert
24-Jun-2009, 04:21 AM #1
Compiled Bat File - Hang Problem when cleaning Temporary Internet Files
I am having an issue with deleting Vista's Temporary Internet Files. What is happening is the command line locks every single time on the same file.

I am not sure of the exact file however there are only 12 files within the directory so I will list them below.

This only happens when I compile this command. It does not happen when it is a batch file. That doesn't make any sense to me given what we know about the compilers.

Update 06-24-09
I was incorrect about the original post. Originally I posted that the RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 was causing the issue. This is not the case. I found the below command was causing the issue. However I believe by having the above and below command it is kind of redundant. I am going to remove the one below. I would still like to know however why that is a problem if you happen to know. If you do not, then don't worry about it. I am removing the line anyway. I do not know why I had it in there to begin with.

Command: del "%USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*" /S /F /Q
Folder Culprit: NIDLQRIB
Pathway: (The pathway has variables in it) "%systemdrive%\Users\%username%\AppData\Local\Microsoft\Windows\Tempora ry Internet Files\Content.IE5\NIDLQRIB"
Files within the folder:

1. ;cat=2522484;cat=2522499;cat=2522503;loc=top;cnt=us;page=epirevwsp;tile=3;u =b7a21129032011899af784fd_epirevwsp_2522503_2253_;dcove=d;sz=160x600;ord=12 45729804[1].htm

2. ;sz=728x90;ord=[timestamp][1].htm

3. 827972-batch-file-loop-counting-characters-3[5].html (Usually deletes this file)

4. 449004783631[1].htm (Usually deletes this file)

5. ads[2].htm

6. ads[3].htm

7. ads[4].htm

8. ads[7].htm

9. adsone[1].htm

10. between-posts[1].htm

11. ddc[1].htm

12. ServiceLogin[1].htm

My guess would be the super long ;cat= file however I can see one that is twice as long as that in the output and it had no problem deleting that one.

All of these files are in use. I want them in use so I can simulate a real time environment with my clientele. If I run just the batch, it tells me these files are in use. If I run the compiled bat, it does not tell me these files are in use and it hangs. I have included these files in a .rar file just in case this cannot be recreated. It can be downloaded from:
(I am splitting the URL because I do not want Google finding the URL for this
www.scrfix.com /NIDLQRIB.rar (You will need winrar or equivalent to open this file)

I am at a loss as to why it cleans them up and just skips past them as a bat file however as a compiled bat file it hangs every time in Vista.

Update 06-24-09
I did some more testing. It is the long file that hangs the program. However what I don't understand is around 6 above it there is the following (using variables). And it skips past this file just fine.
%systemdrive%\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\J2G3ZN8U\;cat=2522484;cat=2522499;cat=2522503;cnt=us;page =epirevwsp;tile=1;u=b7a21129032011899af784fd_epirevwsp_2522503_2253_;dcove= d;sz=728x90;ord=124572980[1].htm

Comparing the two:
%systemdrive%\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NIDLQRIB\;cat=2522484;cat=2522499;cat=2522503;loc=top;cnt =us;page=epirevwsp;tile=3;u=b7a21129032011899af784fd_epirevwsp_2522503_2253 _;dcove=d;sz=160x600;ord=124572980[1].htm

It appears that the second is a little longer and have the same markings such as = and start with a ;

Any ideas why the latter hangs the script?
__________________
Wayne Leiser, Spectacular Computer Repair Computer Repair, Computer Services
World Famous Gift Baskets: Gift Baskets, Corporate Gifts
Resources LLC: Water Treatment Coagulation, Water Recycling

Last edited by scrfix : 24-Jun-2009 12:22 PM.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:31 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.