Geek Speak — HabitableZone

Geek Speak » in reply to Any batch file programmers among us?

HZ messed up code, trying again with pre tag

My company recently started using a 3rd party website to track billable time on. The problem is the website breaks every couple of weeks and the only way to fix it is to delete your cookie. Its no fun digging through to find the cookie and I don't want to delete all cookies just that one.

I'm trying to write a batch program to do it for me, but it can never find the file.

Rem Delete Cookie Batch Program
echo off
CLS
echo.
echo ************************************
echo.
echo ****** {Company} COOKIE will be deleted *******
pause
@ECHO OFF
CD C:\Documents and Settings\{username}\Local Settings\Temporary Internet Files\
echo
del /Q *{company}*.txt
echo cookie deleted
pause


Anybody know why it can never find the file?

-Steve G.

stuff in {} has been changed to protect the guilty.

Log in or register to post.

The whole thread (7 posts)