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.

Using XCOPY

Featured Replies

  • Author

How's this looking?

REG ADD %KEY%\170 /VE /D "Registering CDRWIN" /f
REG ADD %KEY%\170 /V 1 /D "cmd.exe /C\"XCOPY \"%CDROM%\$OEM$\$1\install\Applications\CDRWIN\cdrwin.dat" \"%SystemDrive%\CDRWIN3\" /E /I /Q /H /R /Y\"\"" /f

Will it work?

Thanks

  • Author

Okay but what about the %CDROM% thing?

Do you use %CDROM% in your RunOneEx or do you use %SystemDrive%?

  • Author

By the way, i just tried those lines i posted earlier and they didn't work :) What's the problem?

in your runonce file, do you have CDROM defined? if not that's a very good indication of why it didn't work.

You need to change the source path to what You actually have. It's not rocket science. And even then i bet you could get the right mixture of Oxygen and Helium to make your propellant and a nice aerodynamic design should be fairly simple after that.

  • Author

Here's my RunOnceEx.cmd

cmdow @ /HID
@echo off

IF EXIST C:\WIN51IP.SP1 set CDROM=C:
IF EXIST D:\WIN51IP.SP1 set CDROM=D:
IF EXIST E:\WIN51IP.SP1 set CDROM=E:
IF EXIST F:\WIN51IP.SP1 set CDROM=F:
IF EXIST G:\WIN51IP.SP1 set CDROM=G:
IF EXIST H:\WIN51IP.SP1 set CDROM=H:
IF EXIST I:\WIN51IP.SP1 set CDROM=I:
IF EXIST J:\WIN51IP.SP1 set CDROM=J:
IF EXIST K:\WIN51IP.SP1 set CDROM=K:
IF EXIST L:\WIN51IP.SP1 set CDROM=L:
IF EXIST M:\WIN51IP.SP1 set CDROM=M:
IF EXIST N:\WIN51IP.SP1 set CDROM=N:
IF EXIST O:\WIN51IP.SP1 set CDROM=O:
IF EXIST P:\WIN51IP.SP1 set CDROM=P:
IF EXIST Q:\WIN51IP.SP1 set CDROM=Q:
IF EXIST R:\WIN51IP.SP1 set CDROM=R:
IF EXIST S:\WIN51IP.SP1 set CDROM=S:
IF EXIST T:\WIN51IP.SP1 set CDROM=T:
IF EXIST U:\WIN51IP.SP1 set CDROM=U:
IF EXIST V:\WIN51IP.SP1 set CDROM=V:
IF EXIST W:\WIN51IP.SP1 set CDROM=W:
IF EXIST X:\WIN51IP.SP1 set CDROM=X:
IF EXIST Y:\WIN51IP.SP1 set CDROM=Y:
IF EXIST Z:\WIN51IP.SP1 set CDROM=Z:

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v RunOnceEx /f >NUL

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\010 /VE /D "ATI Drivers" /f
REG ADD %KEY%\010 /V 1 /D "%CDROM%\Applications\ATI\Driver\Setup.exe -s -f1%CDROM%\Applications\ATI\Driver\setup.iss" /f

REG ADD %KEY%\020 /VE /D "ATI Control Panel" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\Applications\ATI\Control\Setup.exe -s -f1%CDROM%\Applications\ATI\Control\setup.iss" /f

REG ADD %KEY%\030 /VE /D "Adobe Acrobat Reader" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\Applications\AdobeReader6\AR6.msi /QN" /f

REG ADD %KEY%\040 /VE /D "Microsoft .Net Framework" /f
REG ADD %KEY%\040 /V 1 /D "%CDROM%\Applications\NetFramework\netfx.msi /QN" /f

REG ADD %KEY%\050 /VE /D "Nero Burning Rom" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %CDROM%\Registry\nero.reg" /f
REG ADD %KEY%\050 /V 2 /D "%CDROM%\Applications\Nero\Nero6009.exe /no_ui /silent /noreboot" /f

REG ADD %KEY%\060 /VE /D "Windows Media Player 9" /f
REG ADD %KEY%\060 /V 1 /D "%CDROM%\Applications\WMP9\MPSetupXP.exe /Q:A /R:N" /f

REG ADD %KEY%\070 /VE /D "Registering Video Codecs" /f
REG ADD %KEY%\070 /V 1 /D "regsvr32.exe %systemroot%\system32\xvid.ax /s" /f
REG ADD %KEY%\070 /V 2 /D "regsvr32.exe %systemroot%\system32\divxdec.ax /s" /f
REG ADD %KEY%\070 /V 3 /D "regsvr32.exe %systemroot%\system32\ac3filter.ax /s" /f

REG ADD %KEY%\080 /VE /D "Registering mIRC" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %CDROM%\Registry\mirc.reg" /f

REG ADD %KEY%\090 /VE /D "MSN Messenger 6.1" /f
REG ADD %KEY%\090 /V 1 /D "%CDROM%\Applications\MSN\MsnMsgs.msi /QN" /f

REG ADD %KEY%\100 /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\100 /V 1 /D "%CDROM%\Applications\WinRAR\wrar330.exe /s" /f

REG ADD %KEY%\110 /VE /D "Hauppauge WinTV Drivers" /f
REG ADD %KEY%\110 /V 1 /D "%CDROM%\Applications\WinTV\whql.exe /s" /f
REG ADD %KEY%\110 /V 2 /D "taskkill.exe /F /IM whql.exe" /f

REG ADD %KEY%\120 /VE /D "CDRWIN 3.9f" /f
REG ADD %KEY%\120 /V 1 /D "%CDROM%\Applications\CDRWIN\cdrwin.exe /s" /f
REG ADD %KEY%\120 /V 2 /D "cmd.exe /c xcopy /y %CDROM%\Applications\CDRWIN\Cdrwin.dat \"%systemdrive%\CDRWIN3\\"" /f

REG ADD %KEY%\130 /VE /D "**** NFO Viewer" /f
REG ADD %KEY%\130 /V 1 /D "%CDROM%\Applications\****\****.msi /QN" /f

REG ADD %KEY%\140 /VE /D "Warez P2P Client" /f
REG ADD %KEY%\140 /V 1 /D "%CDROM%\Applications\Warez\warez.exe /S" /f

REG ADD %KEY%\150 /VE /D "Longhorn Transformation Pack" /f
REG ADD %KEY%\150 /V 1 /D "%CDROM%\Applications\Longhorn\LTP.exe /s" /f
REG ADD %KEY%\150 /V 2 /D "taskkill.exe /F /IM LTP.exe" /f

REG ADD %KEY%\160 /VE /D "Applying Registry Tweaks" /f
REG ADD %KEY%\160 /V 1 /D "REGEDIT /S %CDROM%\Registry\tweaks.reg" /f

REG ADD %KEY%\170 /VE /D "Enabling Windows File Protection" /f
REG ADD %KEY%\170 /V 1 /D "REGEDIT /S %CDROM%\Registry\wfp.reg" /f

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Run /V Cleanup /D "%CDROM%\Batch\cleanup.cmd"

EXIT

EDIT:

Is that correct %CDROM% Variable code?

For some reason it is not copying Cdrwin.dat

Can i install drivers off the CD too?

Thanks

  • Author

XCOPY

%CDROM%\Applications\CDRWIN\Cdrwin.dat

to

%systemdrive%\CDRWIN3\

Could someone please post the code for RunOnceEx.cmd?

Whatever i have isn't working?

Thanks

REG ADD %KEY%\120 /V 2 /D "cmd.exe /c\"xcopy /y %CDROM%\Applications\CDRWIN\Cdrwin.dat %systemdrive%\CDRWIN3\" /f

  • Author

Okay let's say i want to install mIRC this way?

What would be some code for copying an entire directory including subfolders (and keeping file attribs) I'm sure i could figure this out if i knew the switches. Or even where they went? Do they go before /y?

Thanks

By the way, Thanks for the code Alanoll :)

get the switches yourself....

most DOS commands have a /? switch

type the command in a dos windows followed with the /?

it will tell you ALL

  • Author

This is my best shot in a batch file:

XCOPY "%CDROM%\Applications\mIRC" "%systemdrive%\Program Files\mIRC" /E /I /Q /H /R /Y

Will this copy the whole directory?

Thanks

test the darn thing on your own system!!!

put mIRC in one folder, and set a destination somewhere you know to check for it.

then change the paths to suit your CD.

ok now alanoll calm down start breathing, nice and easy

breathe in, breathe out.

wuuusaaaah

:):rolleyes:

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

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.