Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
BILL Dos
- Posts: 12
- Joined: 22 Sep 2009 11:49
- Location: USA
#1
Post
by BILL Dos » 19 Oct 2009 10:07
Doing a Unattended Install of Windows 7 and I need to register multiple .dll files in the System32 directory. Without listing each .dll one by one does anyone have a Batch .cmd file that would do this automatically??
-
skoku
- Posts: 1
- Joined: 24 Nov 2009 03:58
#2
Post
by skoku » 24 Nov 2009 04:06
do you want to register all dll's in system32 or you have list of files?
if all files - you can simply use
for /f %%i in ('dir /B c:\windows\system32\*.dll') do regsvr32 /s C:\Winnt\System32\%%i
if you have file list
for /f %%i in (files.txt) do regsvr32 /s C:\Winnt\System32\%%i
rgds
-
BILL Dos
- Posts: 12
- Joined: 22 Sep 2009 11:49
- Location: USA
#3
Post
by BILL Dos » 02 Dec 2009 21:02
Thanks for the help...
go it working now.. just love access is denied errors.. lol