Skinz
Member
Registered: 15th May 03
User status: Offline
|
I need to write a login script batch file that deletes some profile directories on logon.
can do
del %systemdrive%\documents and settings\*.*
but i want it to leave the All Users profile directory, is there any exceptions you can write into batch files, or IF commands or similar?
|
Brett
Premium Member
Registered: 16th Dec 02
Location: Manchester
User status: Offline
|
why not have the script first copy the all users to another place then that above ^^^ then copy back. end.
|
Skinz
Member
Registered: 15th May 03
User status: Offline
|
didnt think of it that way, good plan
|
Brett
Premium Member
Registered: 16th Dec 02
Location: Manchester
User status: Offline
|
yesh
|