Sonic Posted December 30, 2005 Posted December 30, 2005 Hi 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" ?!
Sonic Posted December 30, 2005 Author Posted December 30, 2005 My cond[pn] contain %cdrom% variable ... and it seems to bug with windows 98 ... with hardcoded path all are okay.
Sonic Posted December 31, 2005 Author Posted December 31, 2005 It seems because drive is in fact a network drive, with a fixed drive this is okay
Kelsenellenelvian Posted January 1, 2006 Posted January 1, 2006 WPI has been known to have issues with networking.
Sonic Posted January 1, 2006 Author Posted January 1, 2006 To bypass this error, it's possble to ignore cond[pn] if win98 is detected ?
Sonic Posted January 1, 2006 Author Posted January 1, 2006 (edited) I try to edit boxes.js ...I have added if (getOSver()!="XP") WhatCodeToInsertHereToIgnoreCond? after line 66if(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 January 1, 2006 by sonic
Sonic Posted January 2, 2006 Author Posted January 2, 2006 (edited) It done.paste this before line 62 of boxes.jsif ( getOSver()!="2K" && getOSver()!="XP" && getOSver()!="03" ) { var dc=0; } else { var dc=1; }paste this before line 66 of boxes.jsif (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 January 2, 2006 by sonic
Kelsenellenelvian Posted January 18, 2006 Posted January 18, 2006 Can you elaborate on these changes so they can be added to WPI?
Sonic Posted January 18, 2006 Author Posted January 18, 2006 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%" toREM Make WPI directory the current directory.cd /d "%wpipath%"it's just more clean "/d" allow to change path regardless current drive.
Sonic Posted January 18, 2006 Author Posted January 18, 2006 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 ...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now