• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    osco
    Posts: 680 from 2009/10/21
    From: Boston, USA
    ; Installs the WShell files on the system disk
    echo "Installing WShell software ..."

    ; Install the commands in C: (or anywhere on a standard path)
    copy clone WShell:c C:
    Manually installed commands in C

    ; Install the library file in LIBS:
    copy clone WShell:libs LIBS:
    Done
    ; Copy the WShell segment (optional for usershell operation)
    copy clone WShell:l/WshellSeg L:
    Done
    ; Copy selected configuration and data files to S:
    copy WShell:s/Config-WShell S: clone
    copy WShell:s/Config-FComp S: clone
    copy WShell:s/CNC-Menus S: clone
    Done I think
    ; Copy the default startup file to S:, unless the user already has one
    if not exists S:WShell-Startup ; already one here?
    copy clone WShell:s/WShell-Startup S:
    endif
    Worried about startup file???? dont want to screw up Ambient shell

    ; Check whether the ENVARC: directory exists (AmigaDOS 2.0 only)
    if exists ENVARC:

    Is there ENVARCC: ??? and where?????

    ; Install default environment variables in ENVARC:
    if not exists ENVARC:titlebar
    copy clone WShell:s/env ENVARC:
    endif
    else
    ; Create an S:ENV directory if necessary ...
    if not exists S:ENV
    echo "Creating S:ENV directory ..."
    makedir S:ENV
    endif
    ; Install default environment variable values in S:ENV
    if not exists S:ENV/titlebar
    copy WShell:s/env S:ENV clone
    endif
    endif

    ; Install selected filter programs
    copy clone WShell:Filters/Tee C:

    filters? where?

    ; Install selected extras
    if not exists sys:rexxc
    copy clone WShell:Extras/WaitForPort C:
    endif

    ; Install the PathHandler files (optional)
    echo "Installing PathHandler Files"
    copy clone WShell:l/PathHandler L:
    copy clone WShell:devs/Path-Mountlist DEVS:

    ; Now clean up obsolete files from the previous release
    if exists C:swaphistory
    echo "Removing old C:swaphistory"
    delete C:swaphistory
    endif
    if exists S:Startup-WShell
    echo "Removing old S:Startup-WShell"
    delete S:Startup-WShell
    endif

    ; Installs the WShell files on the system disk
    echo "Installing WShell software ..."

    ; Install the commands in C: (or anywhere on a standard path)
    copy clone WShell:c C:

    ; Install the library file in LIBS:
    copy clone WShell:libs LIBS:

    ; Copy the WShell segment (optional for usershell operation)
    copy clone WShell:l/WshellSeg L:

    ; Copy selected configuration and data files to S:
    copy WShell:s/Config-WShell S: clone
    copy WShell:s/Config-FComp S: clone
    copy WShell:s/CNC-Menus S: clone

    ; Copy the default startup file to S:, unless the user already has one
    if not exists S:WShell-Startup ; already one here?
    copy clone WShell:s/WShell-Startup S:
    endif

    ; Check whether the ENVARC: directory exists (AmigaDOS 2.0 only)
    if exists ENVARC:
    ; Install default environment variables in ENVARC:
    if not exists ENVARC:titlebar
    copy clone WShell:s/env ENVARC:
    endif
    else
    ; Create an S:ENV directory if necessary ...
    if not exists S:ENV
    echo "Creating S:ENV directory ..."
    makedir S:ENV
    endif
    ; Install default environment variable values in S:ENV
    if not exists S:ENV/titlebar
    copy WShell:s/env S:ENV clone
    endif
    endif

    ; Install selected filter programs
    copy clone WShell:Filters/Tee C:

    ; Install selected extras
    if not exists sys:rexxc
    copy clone WShell:Extras/WaitForPort C:
    endif

    ; Install the PathHandler files (optional)
    echo "Installing PathHandler Files"
    copy clone WShell:l/PathHandler L:
    copy clone WShell:devs/Path-Mountlist DEVS:

    ; Now clean up obsolete files from the previous release
    if exists C:swaphistory
    echo "Removing old C:swaphistory"
    delete C:swaphistory
    endif
    if exists S:Startup-WShell
    echo "Removing old S:Startup-WShell"
    delete S:Startup-WShell
    endif
    :-o


    Got tired :-o any responce from the darkness? :-? :-?
    Mac Mini 1.5GHz, 1G, 250G Drive, Apple Cinema Display, MorphOS 3.1 registered, MacOS 10 PowerBook (5,8) 1.67Hz, 2G, 80G Drive,........Waiting
    PowerBook (5,8) 1.67Hz, 2G, 40G MorphOS 3.1 unregisterd
  • »12.08.11 - 19:39
    Profile