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.

(BartPE) How to create file Association ?

Featured Replies

can someone provide an example how to create file association in BPE please ....

try using assoc.exe

Displays or modifies file extension associations

ASSOC [.ext[=[fileType]]]

 .ext      Specifies the file extension to associate the file type with
 fileType  Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations.
If ASSOC is invoked with just a file extension, it displays the current
file association for that file extension.  Specify nothing for the file
type and the command will delete the association for the file extension.

To create file associations from the command prompt, you may need one or both of, eg

assoc .rex=Regina
ftype Regina=e:\programs\exe\regina.exe %%1 %*

To make the association more permanent (that is, every time you boot BartPE), you need to modify the source .inf file.

[Software.AddReg]
; --- REX ---
0x1,"Classes\.rex","","rexxfile"
0x1,"Classes\rexxfile","","Regina Rexx"
0x2,"Classes\rexxfile\DefaultIcon","",""%SystemDrive%\Programs\exe\regina.exe",1"
0x2,"Classes\rexxfile\shell\open\command","","""%SystemDrive%\Programs\exe\regina.EXE"" ""%1"" %*"

  • Author

os2fan2 i like your method (with the inf file) i will use it in the future i managed my way by creating a plugin that goes like this

assoc.inf:

; assoc.inf
; PE Builder v3 plug-in INF file For Assoc
; Created by MaloK

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="File Association"
Enable=1
Help=""

[SourceDisksFiles]
autorun_assoc.cmd=2,,1

autorun_assoc.cmd:

reg add HKCR\.jpg /ve /t REG_SZ /d jpgfile
reg add HKCR\jpgfile\shell\open\command /ve /t REG_SZ /d "%systemdrive%\programs\irfanview\i_view32.exe %%1"

reg add HKCR\.bmp /ve /t REG_SZ /d bmp_auto_file
reg add HKCR\bmp_auto_file\shell\open\command /ve /t REG_SZ /d "%systemdrive%\programs\irfanview\i_view32.exe %%1"

exit

Associates *.jpg and *.bmp with Irfanview as an example,

it Works but the way you do it is cleaner many thanks for the info... :thumbup

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.