Jump to content
View in the app

A better way to browse. Learn more.

WinCert.net Forums

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.

Featured Replies

Posted

Does anybody know, how i can extract all hotifixes into folder? I want extract KBXXXXX to KBXXXXX ect...

For %%A In (*.exe) DO %%A /q /x:"")

I read about this

%PATH:~0,-4%

But dont know ho to add this line into my script...

Does anybody know, how i can extract all hotifixes into folder? I want extract KBXXXXX to KBXXXXX ect...

For %%A In (*.exe) DO %%A /q /x:"")

I read about this

%PATH:~0,-4%

But dont know ho to add this line into my script...

well you don't need the

%PATH:~0,-4%

it's for getting a part of the path

you will just need to add to the for

For %%A In (*.exe) DO %%A /q /x:"c:\Temp")

i hope that helped

Edited by DaRk MaDnEsS

  • Author

well you don't need the

%PATH:~0,-4%

it's for getting a part of the path

you will just need to add to the for

For %%A In (*.exe) DO %%A /q /x:"c:\Temp")

i hope that helped

But i have about 180 hotfixes and want have KB111111 in folder KB111111, KB222222 in KB222222..

This will extract all hotfixes into one folder...

Edited by George King

But i have about 180 hotfixes and want have KB111111 in folder KB111111, KB222222 in KB222222..

This will extract all hotfixes into one folder...

oh

i didn't see that

For %%A In (*.exe) DO %%A /q /x:"%%A")

then something like that might do the trick ?

Edit: After Thinking that would make a mess

so you better try this one

my mistake :unsure:

%FileName:~0,7% << this mean we would take the first

7 words of the name

that up to the file name but i think they all share the same length

and i don't know if 7 is right

you test and tell me

For %%A In (*.exe) DO (Set FileName=%%A 
FileName=%FileName:~0,7%
md %FileName%
/q /x:"%FileName%")

Edited by DaRk MaDnEsS

ok that started to piss me of

:ranting:

so lets do this

For %%A In (*.exe) DO ( Set FileName=%%~nA
call :MDExtract
)

:MDExtract
md %FileName%
/q /x:"%FileName%
goto :eof

that should work

Edited by DaRk MaDnEsS

Try using dir /b to get the names of the hotfixes

Here is a script I use to get the names of the sub folders of my drivers when integrating them with dism

for /f %i in ('dir /b "c:\Drivers\"') do dism /image:c:\mount\ /add-driver /driver:"c:\Drivers\%i" /recurse

  • 2 months later...

If you're still looking for a robust extraction script then you may want to try the following code. This is a modified version of one of the scripts I rewrote last month when starting work on my update packs again. (The original code also creates an unattended installation script. Let me know if you want a copy.) Everything you should need to know is in the comment header. ;)

Be sure to check the CONSTANT DECLARATIONS section for constants you may need to change, such as update package localization.

::

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

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.