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.

Disable conditions if Windows 98 is detected

Featured Replies

Hi :hello:

I have writed all cond[pn] of each programs in config.js. Works like a charm in XP.

But in Windows98 the main part is blank ... same as nofile find ...

Windows 98 doesn't support JavaScript "SystemObjects" ?!

  • Author

My cond[pn] contain %cdrom% variable ... and it seems to bug with windows 98 ... with hardcoded path all are okay.

  • Author

It seems because drive is in fact a network drive, with a fixed drive this is okay :(

  • Author

To bypass this error, it's possble to ignore cond[pn] if win98 is detected ?

  • Author

I try to edit boxes.js ...

I have added

if (getOSver()!="XP") WhatCodeToInsertHereToIgnoreCond?

after line 66

if(cond[i] && cond[i][0]) {

When I replace "WhatCodeToInsertHereToIgnoreCond?" by continue all cond are treated to false ...

ps: I'm n00b in JavaScript ...

ps2: Edit title to Win98 : 'FileExist' doesn't work on network drive

Edited by sonic

  • Author

It done.

paste this before line 62 of boxes.js

if ( getOSver()!="2K" && getOSver()!="XP" && getOSver()!="03" ) { var dc=0; }
else { var dc=1; }

paste this before line 66 of boxes.js

if (dc=="0") { }
else {

paste this after line 77 (To close 'if')

}

These lines allow to ignore cond[pn] if os is different of windows 2k/xp/2k3.

kelsen: you can edit again the title ^^ to "Disable conditions if Windows 98 is detected"

and again big thanks to you and contrib. for wpi tool.

Edited by sonic

  • 3 weeks later...
  • Author

I will confirm during this week, but the other topic about DriveType == 3 has fixed all my problems ...

btw, you can replace in your WPI.cmd

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

to

REM Make WPI directory the current directory.
cd /d "%wpipath%"

it's just more clean "/d" allow to change path regardless current drive.

  • Author

At the moment I have modified and I disabled conditions by switch passed by WPI.cmd .. it's based on method of Doc Symbiosis (for network share) and it uses regedit temp regkey ... I will inform you after several testsI prefer ...

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.