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.

Set a different drive for apps directory in RunOncEx

Featured Replies

I want my RunOnceEx to check for the existence of application directory on my F Drive and to assign it to PP rather than to use the app dircectory on C drive.

What I want is something like:

cmdow @ /HID

@Echo Off

IF EXIST F:\WINXPHOME\$OEM$\$1\Install\Apps\RunOncEx2.cmd

SET PP=F:\WINXPHOME\$OEM$\$1\Install\Apps\

ELSE

SET PP=SET PP=%SystemDrive%\Install\Apps\

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

It does not work. Can someone help with the language part?


Try this

@Echo Off
CLS
Color 17
Title Run Once Ex

IF EXIST F:\WINXPHOME\$OEM$\$1\Install\Apps\RunOncEx2.cmd Goto Install1

IF Not EXIST F:\WINXPHOME\$OEM$\$1\Install\Apps\RunOncEx2.cmd Goto Install2

:Install1
SET PP=F:\WINXPHOME\$OEM$\$1\Install\Apps\
Goto R1

:Install2
SET PP=%SystemDrive%\Install\Apps\
Goto R1

:R1
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx.

From the code you've provided I'd say you should try this:

@Cmdow @ /HID || @Echo Off
Setlocal
(Set AP=F:\WINXPHOME\$OEM$\$1) & (Set AD=\Install\Apps\)
(Set KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx)
If Exist %AP%%AD%RunOncEx2.cmd (Set PP=%AP%%AD%) Else (Set PP=%SystemDrive%%AD%)

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.