Opened 8 days ago

#91 new defect

Suggested changes to 4start.cmd.sample

Reported by: Lewis Rosenthal Owned by:
Priority: trivial Milestone: Version-5.01
Component: Base Version: 5.00
Keywords: 4start setup initialization Cc:

Description

Sometimes, 4OS2 is not initially started from its installation directory. The current 4start.cmd.sample assumes (in places) that the 4os2 startup directory is CWD, leading to a misfire when attempting to accept the modified 4start.cmd.

More:

Pressing [A] at the initial prompt does not seem to properly replace 4start.cmd with 4start.cmd.sample2. The full path to 4start.cmd and 4start.cmd.sample2 is not being passed on line 26. Changing line 26 to:

@copy /Q /E %@path[%0]4start.cmd.sample2 %@full[%0]

assumes that 4start.cmd.sample2 is in the same directory as 4start.cmd and the copy succeeds. Note that I've also changed move to copy, to preserve the sample2 file in case it is needed again.

Also, a shifted space is needed for @echo on line 21 to prevent echo from echoing.

Modified 4start.cmd.sample attached.

Attachments (1)

4start.cmd.sample​ (961 bytes ) - added by Lewis Rosenthal 8 days ago.
Modified 4start.cmd.sample as described.

Download all attachments as: .zip

Change History (1)

by Lewis Rosenthal, 8 days ago

Attachment: 4start.cmd.sample​ added

Modified 4start.cmd.sample as described.

Note: See TracTickets for help on using tickets.