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.

Copy a file

Featured Replies

Hi all,

In my installation, I need to copy a file:

I do this with the next line, but it doesn't work :)

copy %systemdrive%\install\Winrar\Rarreg.reg %ProgramFiles%\WinRAR\Rarreg.reg

I hope you know what the problem is!

Thanks


try

copy "%systemdrive%\install\Winrar\Rarreg.reg %ProgramFiles%\WinRAR\Rarreg.reg"

or even

copy "%systemdrive%\install\Winrar\Rarreg.reg" "%ProgramFiles%\WinRAR\Rarreg.reg"

or you could just put in in your $OEM$\$1\install\winrar directory. It will automatically be copied over that way.

or you could just put in in your $OEM$\$1\install\winrar directory. It will automatically be copied over that way.

This statement could be a litte misleading. Simply placing the file within the $OEM$ folder structure does not garauntee that the file will be copied over to the systemdrive. This would only happen if OEMPreinstall=Yes in the winnt.sif/unattended.txt file.

  • Author

I already put it in the install directory, but then it is copied to the install directory on the harddisk, but I want it to copy to program files directory!

I'll try the one with "" "" around the paths

Thanks

try to use $OEM$\$Progs$\ for that. details in the unattended guide.

  • Author

well, that's ok when you want to copy a file at the beginning of the installation, but I want to copy this file after an install, and the install is runned at GUIRunOnce.cmd

So, I don't think it helps if I put the file in the $Progs folder...

But maybe I'm wrong....

Thanks for replying anyway!

%PROGRAMFILES% has to be surrounded in quotes as suggested earlier in this thread even though it doesn't have spaces. But, the environment variable resolves into X:\Program Files, which does have spaces.

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.