G
Guest
Hi, in my workplace, we are using a workgroup. the server is running XP and
the majority of the other computers are using windows 98.
before i had started, someone had created a .BAT file which deletes useless
files, directories etc. The server then was on a windows 98 machine.
I have changed it since then, my question is will the .BAT file still work?
(the file is below).
Also, i want to create 2 shortcuts on the desktop, but this .BAT file wont
let me. when the computers restart, they read the .BAT file and always have
the same desktop icons. (it deletes the one's that i had created). How do i
configure the .BAT file, (or is there any other ways), so it will let me have
my own desktop icons. The server's desktop is completely diff to the all the
other computers.
The .BAT file is as follows:
@echo off
cls
echo LIA
deltree /y c:\windows\recent\*.* /y c:\windows\favori~1\*.* /y
c:\windows\temp\*.tmp /y c:\windows\*.tmp /y c:\windows\*.bmp /y
c:\windows\system\3dflow~1.scr /y c:\windows\system\3dflyi~1.scr /y
c:\windows\system\3dmaze~1.scr /y c:\windows\system\3dtext~1.scr /y
c:\windows\system\flying~1.scr /y c:\windows\channe~1.scr
c:\windows\desktop\*.*
cd \
deltree /y c:\windows\startm~1\*.*
cd c:\windows\startm~1\
md Control.{21ec2020-3aea-1069-a2dd-08002b30309d}
cd c:\windows\startm~1\13:10 03/02/03
md Programs
cd c:\windows\startm~1\programs\
md Accessories
md Office
md Startup
cd \
copy \\pc1\look_copy\startup\startm~1\*.* c:\windows\desktop\*.*
cd \
copy \\Pc1\look_copy\startup\startm~1\contro~1.{21 c:\windows\startm~1\*.*
rem access
Cd \
copy \\pc1\look_copy\startup\startm~1\programs\access~1\*.*
c:\windows\startm~1\programs\access~1\*.*
rem office
cd \
copy \\pc1\look_copy\startup\startm~1\programs\office\*.*
c:\windows\startm~1\programs\office\*.*
rem startup
cd \
copy \\pc1\look_copy\startup\startm~1\programs\startup\*.*
c:\windows\startm~1\programs\startup\*.*
attrib +h c:\windows\startm~1\programs\startup
rem start menu
Cd \
copy \\pc1\look_copy\startup\startm~1\*.* c:\windows\startm~1\*.*
cd \
copy \\pc1\look_copy\startup\startm~1\contro~1.{21 c:\windows\startm~1\*.*
rem copy programs
Cd \
copy \\pc1\look_copy\startup\startm~1\programs\*.*
c:\windows\startm~1\programs\*.*
rem examples
Cd \
copy \\pc1\look_copy\startup\startm~1\programs\access~1\*.*
c:\windows\startm~1\programs\access~1\*.*
attrib +h c:\windows +h c:\recycle +h +r c:\progra~1
rem time 14:50
rem date 11-19-2002
deltree /y c:\recycled\*.*
deltree /y c:\windows\*.bmp
cd \
copy \\pc1\Look_Copy\startup\LIASetup.bmp c:\windows\*.*
cd \
copy \\pc1\Look_Copy\startup\windows\*.* c:\windows\*.*
exit
the majority of the other computers are using windows 98.
before i had started, someone had created a .BAT file which deletes useless
files, directories etc. The server then was on a windows 98 machine.
I have changed it since then, my question is will the .BAT file still work?
(the file is below).
Also, i want to create 2 shortcuts on the desktop, but this .BAT file wont
let me. when the computers restart, they read the .BAT file and always have
the same desktop icons. (it deletes the one's that i had created). How do i
configure the .BAT file, (or is there any other ways), so it will let me have
my own desktop icons. The server's desktop is completely diff to the all the
other computers.
The .BAT file is as follows:
@echo off
cls
echo LIA
deltree /y c:\windows\recent\*.* /y c:\windows\favori~1\*.* /y
c:\windows\temp\*.tmp /y c:\windows\*.tmp /y c:\windows\*.bmp /y
c:\windows\system\3dflow~1.scr /y c:\windows\system\3dflyi~1.scr /y
c:\windows\system\3dmaze~1.scr /y c:\windows\system\3dtext~1.scr /y
c:\windows\system\flying~1.scr /y c:\windows\channe~1.scr
c:\windows\desktop\*.*
cd \
deltree /y c:\windows\startm~1\*.*
cd c:\windows\startm~1\
md Control.{21ec2020-3aea-1069-a2dd-08002b30309d}
cd c:\windows\startm~1\13:10 03/02/03
md Programs
cd c:\windows\startm~1\programs\
md Accessories
md Office
md Startup
cd \
copy \\pc1\look_copy\startup\startm~1\*.* c:\windows\desktop\*.*
cd \
copy \\Pc1\look_copy\startup\startm~1\contro~1.{21 c:\windows\startm~1\*.*
rem access
Cd \
copy \\pc1\look_copy\startup\startm~1\programs\access~1\*.*
c:\windows\startm~1\programs\access~1\*.*
rem office
cd \
copy \\pc1\look_copy\startup\startm~1\programs\office\*.*
c:\windows\startm~1\programs\office\*.*
rem startup
cd \
copy \\pc1\look_copy\startup\startm~1\programs\startup\*.*
c:\windows\startm~1\programs\startup\*.*
attrib +h c:\windows\startm~1\programs\startup
rem start menu
Cd \
copy \\pc1\look_copy\startup\startm~1\*.* c:\windows\startm~1\*.*
cd \
copy \\pc1\look_copy\startup\startm~1\contro~1.{21 c:\windows\startm~1\*.*
rem copy programs
Cd \
copy \\pc1\look_copy\startup\startm~1\programs\*.*
c:\windows\startm~1\programs\*.*
rem examples
Cd \
copy \\pc1\look_copy\startup\startm~1\programs\access~1\*.*
c:\windows\startm~1\programs\access~1\*.*
attrib +h c:\windows +h c:\recycle +h +r c:\progra~1
rem time 14:50
rem date 11-19-2002
deltree /y c:\recycled\*.*
deltree /y c:\windows\*.bmp
cd \
copy \\pc1\Look_Copy\startup\LIASetup.bmp c:\windows\*.*
cd \
copy \\pc1\Look_Copy\startup\windows\*.* c:\windows\*.*
exit