Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am a high school teacher who runs a NT4 win95/98 network. I am looking for a way to delete a file upon login, when you don't know which folder the file is located in. (ie napster installation file). Will I need a VB script to do this?
Thanks in advance for any help.
Rob

Hi Rob,
Here is a copy of a posting I did last week. If you grab the zip file he covers much of what you would need to do if you wanted to use DOS commands to do it.
Good Luck
PerryCheck out this FAQ that Timo Salmi created for the alt.msdos.batch newsgroup newbies.
ftp://garbo.uwasa.fi/pc/ts/tsbat62.zipI pulled out some of what he covers and pasted below to give you a taste of what is covered. Yea in NT some of this stuff can be done another way with different tools but for those of you that don't know those tools either this FAQ can come in pretty handy.
Perry
INDEX
=====
2) Deleting all files without being prompted "Are you sure (Y/N)?"
4) How can I check in a batch whether a directory exists?
9) How can I compare if two files are identical?
20) How can I run a batch once a week (testing for the weekday)
22) How can I display the time without having to press enter?
23) Alternatives for testing for the errorlevel value
24) About redirecting a batch file's output
40) A batch to put user input into an environment variable
47) How can I run a different batch depending on the weekday?
59) How get today's date into a six-character environment variable?
81) How to read a file's date and time into environment variables?
89) How to get months as letters and years in four digits in DIR?

How about adding a cybersitter app. or closing the port that napster uses from your router. These would prevent your students from dowloading napster.

![]() |
DUN reporting modem alrea...
|
NT DNS and Linux Server
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |