Changeset 854
- Timestamp:
- Oct 10, 2007, 2:18:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/warpin/bld_fm2_wpi.cmd
r664 r854 5 5 * John Small 6 6 * jsmall@os2world.net 7 * 8 * Hostory 9 * 09 Oct 07 jbs: Changed the "find Warpin" code so that it will no longer 10 * mistakenly find a WIC.EXE on the PATH which may not be Warpin's 11 * WIC.EXE 7 12 * 8 13 * Requirements/assumptions … … 153 158 end 154 159 end 155 WPI.WIC_pgm = 'WIC.EXE' 156 WIC_filename = SysSearchPath( 'PATH', 'WIC.EXE' ) 157 if WIC_filename == '' then 158 do 159 parse value SysIni( , 'WarpIN', 'Path' ) with Warpin_Path '00'x . 160 WPI.WIC_pgm = Warpin_Path || '\WIC.EXE' 161 if stream( WPI.WIC_pgm, 'C', 'query exists') = '' then 162 call ErrorExit 2 163 end 164 else 165 Warpin_Path = left(WIC_filename, lastpos('\', WIC_filename) - 1) 166 160 parse value SysIni( , 'WarpIN', 'Path' ) with Warpin_Path '00'x . 161 WPI.WIC_pgm = Warpin_Path || '\WIC.EXE' 162 if stream( WPI.WIC_pgm, 'C', 'query exists') = '' then 163 call ErrorExit 2 167 164 Warpin_pathentry = ';' || translate(Warpin_path) || ';' 168 165
Note:
See TracChangeset
for help on using the changeset viewer.