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.

how to separate arguments?

Featured Replies

This is the problem:

I have 2 arguments in winnt.sif in [GuiUnattended] , together doesn't work, anyone know how to separate arguments?

1 argument:

DetachedProgram=CMD.EXE
Arguments="/Q /C FOR /F %? IN ('%SYSTEMROOT%\SYSTEM32\MOUNTVOL.EXE^|FINDSTR :\') DO (IF EXIST %?\OEM\QuickLch\QuickLch.exe (START %?\OEM\QuickLch\QuickLch.exe && exit))"

2 argument:

DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J NirCmd.exe exec hide Drivers.cmd)))";

And i try this:

DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J NirCmd.exe exec hide Drivers.cmd)))"
"/Q /C FOR /F %? IN ('%SYSTEMROOT%\SYSTEM32\MOUNTVOL.EXE^|FINDSTR :\') DO (IF EXIST %?\OEM\QuickLch\QuickLch.exe (START %?\OEM\QuickLch\QuickLch.exe && exit))"

Sorry for me english but you sure understand :rolleyes:

Having more than one command in DetachedProgram is not supported AFAIK.

Also what is this supposed to do?

FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J

In a general $WINNT$.INF that would produce lines like this:

FOR %J IN ([Unattend]$OEM$) DO (IF EXIST [Unattended]$OEM$

and

FOR %J IN (UnattendMode=FullUnattended$OEM$) DO IF EXIST UnattendMode...
IF EXIST FullUnattended$OEM$...

Wouldn't it be easier to just call a CMD file that contained all these commands?

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.