Page 1 of 1 1
Topic Options
#2021 - 2000-03-13 12:20 AM msnet32.dll
Anonymous
Unregistered


Does anyone have any ideas on a good way to roll this updated dll out. When I try to copy the file down in the login script is responds that the file is in use.
Top
#2022 - 2000-03-16 09:08 PM Re: msnet32.dll
Anonymous
Unregistered


righto,

-this is a quick'n'dirty way that is successful here.
-it requires a reboot
-weakness: if a user deletes 'r.txt'
it all runs again....
-i'm sure there's a much more professional way to do this.
-but.. it works :-)
---------------------spaghetti code follows---
IF EXIST ("c:\r.txt") ;looking for this marker file
? "into rename to original bat file now..."
del "c:\autoexec.bat"
copy "\\server\icons\autoexec.org" "c:\autoexec.bat"
del "c:\msnet32.dll"
ELSE
? "into sub msnet32 now..."
del "c:\autoexec.bat"
copy "\\server\icons\autoexec.txt" "c:\autoexec.bat"
copy "\\server\icons\msnet32.dll" "c:\msnet32.dll"
copy "\\server\icons\r.txt" "c:\r.txt"
ENDIF
-------------end of spaghetti code-------

hope this is useful

rb

Top
#2023 - 2001-02-09 10:03 AM Re: msnet32.dll
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
There is a utility called MV that comes with the NT res kit:

Usage: mv [/x [/d]] file1 [ file2 ...] target
/x dont save deleted files in deleted subdirectory
/d specifies to delay the rename until the next reboot.


Rename a currently used system file (.dll) to something else and then MV /x /d newfile.dll currentfilename.dll and one the next reboot, the new file replaces the old one.

HTH

cj

Top
Page 1 of 1 1


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

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

Generated in 0.061 seconds in which 0.032 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