Page 1 of 1 1
Topic Options
#50434 - 2000-06-29 04:46 PM This should be easy!
Anonymous
Unregistered


Hello all - 2 problems I can't solve with Kixtart on W95 clients:

1. Need to delete c:\temp\*.* on login

2. Running batch file but when control returns to Kixtart, it locks up until
cancel is pressed.

Thanks,

Ed

===============================
Ed Siff
Computing Consultant
Academic Affairs Library
University of North Carolina
Chapel Hill, NC
ed_siff@unc.edu
919.962.1288
===============================

How was I supposed to come up with a plan when I was waiting for *your* plan?

Top
#50435 - 2000-06-29 06:58 PM Re: This should be easy!
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Normally your DEL command should work, but during a logging process it is possible to get a deadlock situation, when one command tries to delete a file and another process tries to create one.
The windows95 deltree can handle open files for other environments like Windows NT, but for his own environment you get a deadlock.
The goal to clean up the temp directory is possible, when you specifies som different submask.
At our site we limit it to the following actions:

code:

del "c:\ffastun*.*"
del "c:\file*.chk"
del "c:\temp\~*.*"
del "c:\temp\*.tmp"
del "c:\windows\~*.*"
del "c:\windows\*.tmp"
del "c:\windows\temp\~*.*"
del "c:\windows\temp\*.tmp"

Another solutions are:


  • to start cleaning after the completion of the login process.
  • to add a batch call to your autoexec.bat file, which cleanup the system from a lot of temporary files before windows 95 starts running.
    The autoexec.bat will always be running after power-on your system. It will never be influenced by another process, because it runs in single-task-mode.

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.114 seconds in which 0.089 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org