Jump to content

Recommended Posts

Posted

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" ?!


Posted

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

Posted (edited)

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
Posted (edited)

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...
Posted

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.

Posted

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...