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.

Cannot Find C:\install\batch.cmd

Featured Replies

This is what I have in my winnt.sif file:

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\applications.cmd

when it is installing it tells me it cannot find the batch files, but it is looking on c:\.

How do I get it to look for the cd drive?


If you've placed all your files in the $OEM$\$1 directory, then they get copied to the root of the windows drive automatically.

For example: $OEM$\$1\Cats\cats.bat

will be come: C:\Cats\cats.bat

Just check to make sure you've got your files in that $OEM$\$1 directory.

  • Author

Yes I have my files in $OEM$\$1\install. I have an install and a drivers dir and neither get copied to c:\

they dont get copied to C:\ you say?

Everything else works though?

Is your winnt.sif file in your I386 directory?

To make thing easier, can you please post the contents of your winnt.sif file. I have a feeling there's a problem in there :)

Also, is I386 in the root of your cd? If so, is $OEM$ parallel to I386. In other words, both folders can be seen at the same time?

  • Author

Yes I have D:\i386 and D:\$OEM$.

Here is my winnt.sif:

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=No

TargetPath=\WINDOWS

OemPreinstall=Yes

UnattendSwitch="no"

[GuiUnattended]

AdminPassword=removed

EncryptedAdminPassword=Yes

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

[userData]

ProductKey=removed

FullName="removed"

OrgName=""

ComputerName=hal

[TapiLocation]

CountryCode=1

Dialing=Pulse

AreaCode=513

[RegionalSettings]

LanguageGroup=1

Language=00000409

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\applications.cmd

Yes I have D:\i386 and D:\$OEM$.

Here is my winnt.sif:

;SetupMgrTag

[Data]

    AutoPartition=1

    MsDosInitiated="0"

    UnattendedInstall="Yes"

[unattended]

    UnattendMode=FullUnattended

    OemSkipEula=Yes

    OemPreinstall=No

    TargetPath=\WINDOWS

    OemPreinstall=Yes

    UnattendSwitch="no"

[GuiUnattended]

    AdminPassword=removed

    EncryptedAdminPassword=Yes

    OEMSkipRegional=1

    TimeZone=35

    OemSkipWelcome=1

[userData]

    ProductKey=removed

    FullName="removed"

    OrgName=""

    ComputerName=hal

[TapiLocation]

    CountryCode=1

    Dialing=Pulse

    AreaCode=513

[RegionalSettings]

    LanguageGroup=1

    Language=00000409

[identification]

    JoinWorkgroup=WORKGROUP

[Networking]

    InstallDefaultComponents=Yes

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\applications.cmd

I have the same probem. The cause of it is when the CD image is created and when the files are being copies (i.e Roxio CD Creator 6), the folder $OEM$ gets renamed to _OEM_. The message is that it is to keep with the file naming format specified when creating the bootable CD. I have the same problem, so if someone could enlighten me it would be very helpful. TYIA

  • Author

Well I have been using Nero to burn, and I just put my cd in to check and on the cd it is named $OEM$.

  • Author

Solved my problem. In winnt.sif I am looking for main_batch.cmd, but I named the file main_batch.bat

Yes I have D:\i386 and D:\$OEM$.

[unattended]

    UnattendMode=FullUnattended

    OemSkipEula=Yes

    OemPreinstall=No

    TargetPath=\WINDOWS

    OemPreinstall=Yes

    UnattendSwitch="no"

You also have the line OemPreinstall=Yes twice once says NO and the other says YES :)

  • Author

Yeah I noticed that and fixed it too. Now the only update I still need to get working is the MDAC. I copied the command and pasted right into my main_batch.cmd: ECHO Installing Q823718 Security Update for Microsoft Data Access Components

start /wait %systemdrive%\install\hotfixes\Q823718.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q

Windows Update still shows it as not installed. I am using VPC if it makes a difference

  • Author

Nevermind, I got that fixed too. I forgot to reboot the system in the batch file. I did a manual reboot and windows update now only lists 1 missing critical (which should be fixed after reading another thread) instead of 2.

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.