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.

Help with cmd and Runonex file placement

Featured Replies

This is what I have so far for cmd"

[COMMANDS]

"RunOnceEx.cmd"

I did that in Notepad and saved as cmdlines.text

Is that all I need there or do I need to add info for the apps I plan I installing? what folder this goes into?

2nd question This is what I put together so far for the Runoncex

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

SET PP=%systemdrive%\install\winrar.exe

REG ADD %KEY% /V TITLE /D "Installation" /f

REG ADD %KEY%\000 /VE /D "winrar" /f

REG ADD %KEY%\000 /V 1 /D "%systemdrive%\install\winrar.exe /s" /f

I saved that on the desk top for now as Winrar

Am I on the right track here ? do I just keep adding diferent apps right here?

and for the ones needing a product key do I also place that also here? and this file goes into the $OEM$ folder? this file is named RunOnceEx.cmd the actual applications go into the apps folder correct?


Try this I added another made up entry to it for you, your cmdlines.txt looks correct.

You can add a second app to that entry or remove it before trying it.

cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
SET PP=%systemdrive%\install

REG ADD %KEY% /V TITLE /D "Installation" /f

REG ADD %KEY%\005 /VE /D "winrar" /f
REG ADD %KEY%\005 /V 1 /D "%PP%\winrar.exe /s" /f

REG ADD %KEY%\010 /VE /D "More Stuff" /f
REG ADD %KEY%\010 /V 1 /D "%PP%\MORE_STUFF_FOLDER\MORE_STUFF.exe /s" /f

Edited by gunsmokingman

:blink: Hello?!? Was that a typo here in the thread or did you actually name the file with a .text for an extension? Because there would be where your problem is for starters. It needs to be .txt not .text

Then, you'll want to also use the cleaned up version from gunsmokingman because your SET PP line shouldn't include the winrar.exe at the end for one. And you use the %PP% as illistated in his example as well. All in all, Read The Manual carefully. Paying close attention to details.

  • Author

Thanks Gunsmokingman

It was a typo ( .txt) is the correct extension, what would habe happenned with the winrar.exe after the SET PP ?

As for installing apps and using RunOnceEx, you may find that thread useful.

Be sure to read the full posts as they are a very detailled tutorial about doing this for the first time.

Just skim through if you feel comfortable with all what is explained.

Good luck and may the msfn be with you.

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.