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 Copy Files in my RunOnceEX.cmd

Featured Replies

Hello, I'm trying to figure out how to copy files for certain apps w/o the need to make a SFX for them.

I have tried;

REG COPY %KEY%\005 /V 3 /D "%systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"

REG ADD %KEY%\005 /V 3 /D "XCopy %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"

REG ADD %KEY%\005 /V 3 /D "Copy /y %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"

Any suggestions?


Skip the REG COPY %KEY%\005 /V 3 /D bit. Try

md "C:\Program Files\coverXP"

Copy /y "%systemdrive%\Install\Applications\coverXP\Test.txt"

I think This Is The Cmd that you need.

REG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"

You Could Also Make A Batch File That Does

The Copy Part and call the batch at the Run1

part.

REG ADD %KEY%\005 /V 3 /D "Your-location-of-cmd\Name-of-the-cmd."

Batch Code

echo off 
cls
mode con: Cols=62 Lines=4
color f7
Copy "%systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\

  • Author

Wow you two were quick, thank you for the suggestions, I am trying them now, will post back the results.

Thanks Again

  • Author

Well neither of these suggestions worked. The 1st however made two new folders on my C:\ 1 is "Copy" & the other is "Y" (both of which are empty)

This is how i entered them;

md "C:\Program Files\DVD Decrypter" Copy /y "%systemdrive%\Install\Applications\DVDDecrypter\Test.txt" /f

REG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\" /f

Any other suggestions?

This Codes Works Perfect on my Computer.

I dont use C to install Windows.

So It made On My Computer

F:\Install\Applications\coverXP

Than On C It Made

C:\Program Files\coverXP

So give This A Try

echo off 
cls
mode con: Cols=62 Lines=4
color f7
set CD1=%systemdrive%\Install\
set CD2="C:\Program Files\coverXP\"
mkdir "%CD1%Applications\coverXP\"
mkdir %CD2%
ping -n 1 127.0.0.1>nul
Echo Test me > %CD1%Applications\coverXP\Test.txt
date /t >> %CD1%Applications\coverXP\Test.txt
time /t >> %CD1%Applications\coverXP\Test.txt
Copy %CD1%Applications\coverXP\Test.txt %CD2%
ping -n 1 127.0.0.1>nul
%CD2%Test.txt

Change it to this and it should work for you

REG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy \"%systemdrive%\Install\Applications\coverXP\Test.txt\" \"C:\Program Files\coverXP"\" /f

Hopefully this will work, I grabbed it from a simular copy process I did just last week. The reason for all the extra \ is because of the multiple quotes.

Sorry about the mistake. Should be

md "C:\Program Files\coverXP"

Copy /y "%systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP"

You could try this. create a folder called coverXP in $OEM$\$Pogs and copy the test.txt file in there. The $Progs will be automatically copied to Program Files when windows is installed. Hope this helps

  • Author

Thank you all for your suggestions. B)

I went with gunsmokingman's suggestion as it seems to work best for my UA.

Thank you all again. :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.