1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

need login script to delete tmp files

Discussion in 'Networking' started by Netwitch, Jan 17, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. Netwitch

    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!
     
  2. inetbogey

    inetbogey

    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.
     
  3. Netwitch

    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.
     
  4. O111111O

    O111111O

    Joined:
    Aug 26, 2005
    Messages:
    894
    Don't ya need to stick an "@" in front of batch file executions in Netware login scripts?
     
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/536109

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice