>I need to delete all files named normal.dot on my win95 workstations. I want to do this through a log on script so I need to use either VBS or Basic dos commands. Is there a command or switch that allows you to delete all files with the name normal.dot off the entire drive no matter where they are located.
Hi Terry,
Disregard this... I just tried it on Win98 and there is no /S switch available, so there probably isn't one in Win95...
I left it here in case you want it for Win 2000 reference (maybe it will work in NT)
-------Previous Post--------
I don't have a Win95 machine to test this on but a DEL /S
should do what you need.
ex.
D:\>del /s d:\temp\test.txt
Deleted file - d:\temp\jobs\test.txt
Deleted file - d:\temp\moc\test.txt
Deleted file - d:\temp\temp2\test.txt
Deleted file - d:\temp\test\test.txt
Deleted file - d:\temp\test\test2\test.txt
Deleted file - d:\temp\test\test3\test.txt
HTH
- Brian
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com