Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Folders created when running batch for critupdates

Featured Replies

I'm using a batch file to run a whole lot of critical updates (I found it in one of the threads here) after installing XP.

However, it is creating a series of folders in my d: drive (a secondary hard drive) that do not remove themselves after the patches have been run.

Any reasons why?

This is the batch file:

CLS
@ECHO OFF
ECHO
ECHO Installing All Pre-SP2 Hotfixes...
ECHO Please Wait...
CD %systemdrive%\install\crits
for %%i in (*.exe) do start /wait %%i /Q /Z /U /N
ECHO Done.

EXIT


Does that code work for all hotfixes?

The reason i ask, is because some hotfixes use different switches from others.

  • Author

I have my hotfixes sorted into folders so that those requiring the /Q:A /R:N switches are in a seperate folder to this. I then run one batch file, and then run the other.

Genious :rolleyes:

Would you mind posting them for my personal conveniance? :)

I did the same here you go.

CLS
@echo off
ECHO Installing All Pre-SP2 Hotfixes...
ECHO Please Wait...
CD "%systemdrive%\install\Hotfixes
for %%i in (*.exe) do start /wait %%i -u -f -o -z -q -m
CD "%systemdrive%\install\Hotfixes1
for %%i in (*.exe) do start /wait %%i -u -f -o -z -q -m
ECHO Done.
ECHO Installing All Pre-SP2 Cumulative patches...
ECHO Please Wait...
CD "%systemdrive%\install\Hotfixes2
for %%i in (*.exe) do start /wait %%i /Q:A /R:N
ECHO Done.
ECHO Installing All Pre-SP2 Extra patches...
ECHO Please Wait...
CD "%systemdrive%\install\Hotfixes3
for %%i in (*.exe) do start /wait %%i /Q
ECHO Done.
EXIT

that last one is for the last fix repoerted jsut today but the switch still does not work for a silent install.

  • Author
Genious :rolleyes:

Would you mind posting them for my personal conveniance? :)

It's pretty much like webmedic's post.

However, I'm still having problems working out why these folders are created after running them.

They only occur for files in which the /Q /U /Z switches are run.

This is driving me insane, as I don't want to have all those icky folders floating about.

Anyway, I guess I'll just have to test it some more.

why not just remove the root hotfix directory afterwards ?

  • Author

Never fear. Apparently rebooting the system clears all the folders out that it uses.

However, to delete the folder that is created by the $OEM$ directory on the cd, you do need to do an rmdir /Q /S %systemdir%\<folder>

  • Author

Meh. rmdir /Q /S works just as well.

I'm still curious as to why those randomly named folders are placed on my secondary hard disk and not on my primary (C:) as one would assume.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.