Forum posts for netdde.exe

Windows batch file: rename files (possibly in multiple folders) based on input file (of targ…

I am a Batch-newbie, so please accept my apologies and Thanks in advance !

This 'tool' is to automate the slimming down of Windows (XP) by disabling certain system driver, DLL and EXE files. Instead of outright deletion, I wish to rename-in-place, thus 'removing' them from the OS, but not losing sight of where they belong (should any need to be 'restored'). Renaming is accomplished by appending a new suffix to the existing filename (eg: 'wdmaud.drv.group_1') The renaming suffix should be another input variable.

The target-list is approx. 1100 files long (divided into various groups/phases), so manual renaming is out of the question. Each group will be processed in a separate run of the batch file, varying the target-list input file for each execution.

Target-list is plain text file, one filename per line (no other data in the files). Number of entries per group varies. Target list will look like this:

-- example start --
netapi.dll
netcfgx.dll
netdde.exe
netevent.dll
neth.dll
netid.dll
netrap.dll
nic1394.sys
-- example end --


Filenames may be in UPPER, lower, or MiXeD case. The files may be present in more than one folder in the C:Windows hierarchy - or may not be present at all. If a file is not found anywhere in the system, it's name should be written to a text file, one-entry-per-line.

The specific folders of interest are:

C:WINDOWS
C:WINDOWSsystem
C:WINDOWSsystem32
C:WINDOWSsystem32dllcache
C:WINDOWSsystem32drivers


The renaming will be done by connecting the target OS drive to another XP computer, so locked system files should not be a problem.

Any help you can offer will be greatly appreciated.

View complete forum thread with replies

Other posts related to netdde.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Windows batch file: rename files (possibly in multiple folders) based on input file (of targ…

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.