Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!pdn!boake2!jc3b21!fgd3 From: fgd3@jc3b21.UUCP (Fabbian G. Dufoe) Newsgroups: comp.sys.amiga Subject: NewShell Script correction Keywords: workbench shell cli script Message-ID: <695@jc3b21.UUCP> Date: 29 Jul 89 15:15:53 GMT Organization: St. Petersburg Jr. College, FL Lines: 33 The NewShell script I posted recently had a subtle error. It worked fine so long as your pathname did not contain embedded blanks. To handle pathnames with embedded blanks it requires quotation marks around the parameters. A revised script is attached. --Fabbian Dufoe 350 Ling-A-Mor Terrace South St. Petersburg, Florida 33705 813-823-2350 UUCP: ...uunet!pdn!jc3b21!fgd3 ------------------------------------------------------------------ .key path1,path2,path3,path4,path5 .def path1 "RAM:" CD "" NewShell "NEWCON:0/10/550/190/ Shell" If NOT "" EQ "" CD "" NewShell "NEWCON:15/22/550/190/ Shell" EndIf If NOT "" EQ "" CD "" NewShell "NEWCON:30/34/550/190/ Shell" EndIf If NOT "" EQ "" CD "" NewShell "NEWCON:45/46/550/190/ Shell" EndIf If NOT "" EQ "" CD "" NewShell "NEWCON:60/58/550/190/ Shell" EndIf