Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch File to remove files
Name: nstdstl Date: February 18, 2008 at 09:47:42 Pacific OS: XP CPU/Ram: P$ Product: Dell
Comment:
I have a ton of pc's that that I need to remove the C:\documents and settings\userprofiles\Start Menu\Programs\Winzip\ files from that directory.
I also have a text file that has all the pc names in (called files.txt)
Is there a way for the batch script to remove those files for all user profiles that have logged onto that pc for all the pc's listed in files.txt?
Name: Razor2.3 Date: February 19, 2008 at 18:25:18 Pacific
Reply:
Untested, as my network is no more.
for /f %%a in (files.txt) do for /d %%b in ("\\%%a\C$\documents and settings\") do rd /s /q "\\%%a\C$\documents and settings\%%b\Start Menu\Programs\Winzip"
Summary: Hi all, Is there anyone that knows a batch file or script that I could run to remove a print driver from a group of PCs. The driver path is: C:\WINDOWS\System32\spool\DRIVERS\W32X86\3 The driver fi...
Summary: Okay. the batch file entirely consists of dir /tc /o-d >List.txt When run, it gives me the following (I put the >list.txt as its the only way of me knowing what it does) 10/01/07 12:41 22 New Text D...
Summary: I’m trying to making a batch file that replaces a word with another in a file(s!) that containing the word. By using Edlin program. And to use edlin so req. it ^Z (Ctrl+Z) as a breaker between old t...