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.

Modified 4start.cmd.sample as described.