need login script to delete tmp files

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Netwitch

Thread Starter
Joined
Apr 29, 2003
Messages
72
I'm using these two scripts to delete tmp files at login, but the temp files in

C:\Documents and Settings\[user name]\Local Settings\Temp

are not being deleted. Can anyone suggest how to correct this?

rem clean up user's temp folder
cd %tmp%
del /q /f *.*

Rem clean up windows temp folder
cd %systemroot%\temp
del /q /f *.*

Thanks in advance!
 
Joined
Nov 9, 2006
Messages
286
hi Netwitch,
i don't know the answer to your question, but i am going to ask what file ext did you put on your file? i created a small .bat file and it works.
 

Netwitch

Thread Starter
Joined
Apr 29, 2003
Messages
72
There is no file. It is saved in the user's Novell user object under the login script tab. Maybe that's why it's not working.
 
Joined
Aug 26, 2005
Messages
894
Don't ya need to stick an "@" in front of batch file executions in Netware login scripts?
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top