home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!paladin.american.edu!gatech!swrinde!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jst50986
- From: jst50986@uxa.cso.uiuc.edu (Jack S. Tan)
- Subject: Re: Trouble installing high res in OS2.1b
- References: <1993Jan17.052213.9738@magnus.acs.ohio-state.edu> <sheldon.727252740@pv141b.vincent.iastate.edu> <C10EE5.CI3@news.cso.uiuc.edu> <1993Jan20.224141.22151@midway.uchicago.edu> <C18sp1.Cyw@news.cso.uiuc.edu>
- Message-ID: <C19oG9.CFL@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Fri, 22 Jan 1993 17:55:20 GMT
- Lines: 59
-
- Here is the REXX script for tricking OS/2 into thinking that the GA disks
- are in drive A.
-
- ----- GA_DISKS.CMD -----
-
- /* GA_DISKS.CMD
- This tricks OS/2 into thinking the GA disks are placed in drive A
- */
- "@Echo OFF"
-
- /* Pick the correct diskette size for drive */
- /* DISK_SIZE = "3.5" */
- DISK_SIZE = "5.25"
- DRIVE = 'A'
-
- if (DISK_SIZE = "5.25") then
- do
- FIRST_DISK = 7
- LAST_DISK = 18
- end /* do 5.25" */
-
- else if (DISK_SIZE = "3.5") then
- do /* not sure if these are correct */
- FIRST_DISK = 6
- LAST_DISK = 16
- end /* do 3.5" */
-
- else
- do
- SAY "You need to set the diskette size before running this."
- SAY "Edit 'GA_DISKS.CMD' to set the size."
- EXIT
- end /* do error message*/
-
-
- SAY "Place a scratch diskette in drive" DRIVE
- "pause"
-
- diskCounter = FIRST_DISK
- DO UNTIL (diskCounter = LAST_DISK)
- "LABEL" DRIVE":DISK" diskCounter" & pause"
- diskCounter = diskCounter+1
- end /* do until */
-
- /* Take care of the last disk */
- "LABEL" DRIVE":DISK" diskCounter
- "EXIT"
-
- ------------------------
-
- In writing this, I noticed that FORMAT and LABEL do not use the same
- conventions for volume labels. In FORMAT (with the /V switch), the
- volume label is enclosed in quotes if there are spaces in the label.
- In LABEL, the volume label is not, even if there are spaces.
-
- --
-
- Jack Tan If your parents didn't have kids,
- jahk@uiuc.edu chances are you won't either.
-