Skip to content
The Chat Archive
gpt-3.5-turbo-0301· OpenAI WildChat-4.8M (AI2)

Write a batch script that creates a console output which indicates processing to the user

  1. User

    Write a batch script that creates a console output which indicates processing to the user

  2. Assistant

    @echo off echo Processing... :: Your processing code goes here echo Processing complete.

  3. User

    Use something more fancy

  4. Assistant

    @echo off setlocal enableDelayedExpansion set "loading=Processing" set "lading=..."

    for /L %%A in (1,1,3) do ( cls echo !loading:~0,-%%A!!lading:~0,%%A! timeout /t 1 /nobreak >nul )

    echo | | | | | | | | | echo / / /| | / /| | | | / /| |_ echo / // | | / /| | | | / /| |
    echo |/|| || |_| |__| () echo. & echo Processing...

    :: Your processing code goes here

    echo Processing complete. pause >nul exit

  5. User

    Doesn't work

  6. Assistant

    I apologize for the mistake. Here's a corrected version:

    @echo off setlocal enableDelayedExpansion set "loading=Processing" set "lading=..."

    for /L %%A in (1,1,3) do ( cls echo !loading:~0,-%%A!!lading:~0,%%A! timeout /t 1 /nobreak >nul )

    echo Processing...

    :: Your processing code goes here

    echo Processing complete. pause >nul exit