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.

@ is an unknown command

Featured Replies

Hello All,

1st - great program - next is to customise it a bit more.

Issue; It worked fine, so i added some comments to my programs, it failed on line 109Char59 (line exists, char doesn't), but resolved as comments were too large so shrunk some.

Result now is though that the cmdow.exe line fails with the error that

@ is an uknown system command

This can be resolve dby REM the line out, but then the dos box stays on the screen.

Why would the addition or removal of comments affect this? Bugged for about 2hrs and then gave up.

Thought about replacing the wpi.cmd file with clean one, but would rather find issue and fix.

Oldman

  • Author

@kelsenellenelvian

As requested, One wpi.cmd

@ECHO OFF

REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico).
for %%i in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
REM set wpipath=%~dp0
set wpipath=%cdrom%\$OEM$\$1\Install\WPI

REM Force resolution to needed size for wpi interface.
start /wait %wpipath%\common\VideoChanger.exe 1024x768x32@75 -q

REM Hide this command window.
start /wait "%wpipath%\common\cmdow.exe" @ /hid

REM Font installation - the smooth and customizable way.
start /wait %wpipath%\common\fonts\fontinstaller.exe

REM Special registry tweak needed.
regedit /s "%wpipath%\common\wpi.reg"

REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"

REM Start WPI and wait for its end
start /wait WPI.hta

REM Cleaning up the desktop.
REM del /s/q "%userprofile%\desktop\*.lnk"

REM Rebooting the sytem to finalize the installation process.
REM --shutdown.exe -r -f -t 10 -c "Reboot in 10 sec..."

exit

:end

The copy i downloaded had the line

--start "%wpipath%\common\cmdow.exe" @ /hid

which constantly gave errors, so i looked and thought that's wrong, corrected to the one above and it worked.

You'll find that --shutdown should also fail

I have REM'd out the lines i don't need.

I have also modified to use the cdrom to laod from - this works fine.

I will try a new cmdow.exe tonight when home as doing from work at present.

Oldma

  • Author

Thanks,

Also just played a bit more and the quotes aren't needed either, but still worked with the start /wait.

will remove the start /wait and let you know result.

Cheers again

  • Author

@kelsenellenelvian,

Your right removed start /wait and worked fine.

Will re-burn and test CD tonight.

Oldman

Edit: Also have no quotes as I think they're only needed if command has a space with in it?

Edited by oioldman

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.