home.social

#batchfile — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #batchfile, aggregated by home.social.

  1. MIST0426/CT-RC

    Mistigram: trotting an old joke around the track once again, in last month’s new books-themed MIST0426 artpack collection Cthulu made a batch file DOSbox adaptation of George Nachman’s #RichardCory Interactive Adventure from 1998, a joke about #EdwinArlingtonRobinson’s 1897 poem from over a hundred years earlier. This is its splash screen, with its weird Braille-like low-#ASCIIart logo to accommodate the dictates of the MS-DOS command line. You can play it via https://16colo.rs/pack/mist0426/CT-RC.BAT or see the original at https://www.llamas.org/corey.html

    #ASCIIArt #batchFile #cthulu #EdwinArlingtonRobinson #GeorgeNachman #MIST0426 #MSDOS #RichardCory
  2. Happy to announce that I just published my #PolyglotScript v2.0.0 research report for #cli #commandline #shell. It consolidates #batchfile, #PowerShell, and #POSIXShell together into 1 single file that can run anywhere, everywhere without requiring to install anything.

    Tested on #linux, #windows, and #macos. For #FreeBSD, still pending because GitHub does not officially facilitate #FreeBSD yet.

    Check it out at:

    doi.org/10.5281/zenodo.19805433

  3. Il Favoloso Mondo di Leo @ilfavolosomondodileo.wordpress.com@ilfavolosomondodileo.wordpress.com ·

    Come velocizzare l’apertura di ASSOINVOICE

    Se gestisci la contabilità dell'azienda in cui lavori, con molta probabilità conosci AssoInvoice. In questo articolo ti spiegherò come ottimizzare questo software e come creare uno SCRIPT BATCH capace di eseguire un processo di MIRRORING. Potrai usare tutte queste informazioni nelle situazioni più disparate.

    ilfavolosomondodileo.wordpress

  4. Il Favoloso Mondo di Leo @ilfavolosomondodileo.wordpress.com@ilfavolosomondodileo.wordpress.com ·

    PILLOLE DI BATCH SCRIPTING – PILL0005 – Verificare lo stato della connessione internet

    Oggi ti insegnerò a monitorare la connessione internet tramite uno SCRIPT BATCH. Non solo potrai capire se il tuo computer è effettivamente connesso ma anche eseguire una verifica prima di avviare un download, verificare lo stato di un server casalingo o capire se un sito è offline.

    ilfavolosomondodileo.wordpress

  5. PowerShell – PowerShell generated batch file results in error þ is not recognized as an internal or external command dlvr.it/TJ5xdp via PlanetPowerShell #PowerShell #BatchFile #ErrorHandling #CommandLine

  6. Ok, this is an extremely niche question, but I'm trying to work with a list of files in a Windows batch script, and one of the files contains two single quotes in the name, so the batch script is interpreting that as a command. Does anyone know of any way I can escape those single quotes programmatically? I can't simply add slashes to them because I don't have access to the filename. Should I pipe them to a text file and then munge the text file? I'm happy to give more information if necessary; this isn't a secret or anything. #Windows #BatchFile #programming #FediHelp #BoostsWelcome

    P.S. If your suggestion is not to use a batch script to do this, believe me, I've considered it, but at the moment batch is what I've got. I'm not going to install an entirely new shell to do this fairly simple task and I don't like PowerShell enough to go to the trouble of scripting in that. If I were to write a non-shell program, I would probably write it in Python as that seems like the most reasonable option, but I remain convinced that there's a way to do this in a batch script.

  7. Funtimes is offline now because bat2web is not good enough. I designed it to work on the terminal first, and making it work on the web was an afterthought. Also, I knew less about Flask when I made it (which is why you can't save the game into a cookie yet).

    When requesting input from the user, as a quick hack to make it work online, bat2web enters a while loop and continuously checks if user input is in a queue that gets filled by another thread. It's bad, but it works... kinda. I'll call it a proof of concept. 😛

    There's two methods I've thought of to improve the program. One method would be a better system for separating these threads into different processes, keeping them alive as we do now, and managing them at a higher level. That sounds annoying, although it would be cool.

    Another method (which I'm more inclined to do) would be to make Batchfile.py's state serializable so that the Python process can be started fresh with each network connection.

    I think I can re-enter an arbitrary part of a batchfile chain if I store the callstack with line-numbers and the currently defined variables. I think it would work? 🤔 Perhaps not for all batchfiles, but it should work for Funtimes.bat

    The server would receive the callstack as a list of dictionaries, and the variables as a dictionary. Create a new Python process with Batchfile.py, then define the variables and jump to the line-number belonging to the last member of the callstack list. If an exit must be performed, pop the last item from the callstack and go to the line-number above it. When the callstack is empty, exit the program.

    Not sure if I'm going to program this or if it would actually work, but it's an idea.
    #blog #batchfile #python

  8. Happy to announce that I just published my #PolyglotScript v2.0.0 research report for #cli #commandline #shell. It consolidates #batchfile, #PowerShell, and #POSIXShell together into 1 single file that can run anywhere, everywhere without requiring to install anything.

    Tested on #linux, #windows, and #macos. For #FreeBSD, still pending because GitHub does not officially facilitate #FreeBSD yet.

    Check it out at:

    doi.org/10.5281/zenodo.19805433

  9. Happy to announce that I just published my #PolyglotScript v2.0.0 research report for #cli #commandline #shell. It consolidates #batchfile, #PowerShell, and #POSIXShell together into 1 single file that can run anywhere, everywhere without requiring to install anything.

    Tested on #linux, #windows, and #macos. For #FreeBSD, still pending because GitHub does not officially facilitate #FreeBSD yet.

    Check it out at:

    doi.org/10.5281/zenodo.19805433

  10. Happy to announce that I just published my #PolyglotScript v2.0.0 research report for #cli #commandline #shell. It consolidates #batchfile, #PowerShell, and #POSIXShell together into 1 single file that can run anywhere, everywhere without requiring to install anything.

    Tested on #linux, #windows, and #macos. For #FreeBSD, still pending because GitHub does not officially facilitate #FreeBSD yet.

    Check it out at:

    doi.org/10.5281/zenodo.19805433

  11. Happy to announce that I just published my #PolyglotScript v2.0.0 research report for #cli #commandline #shell. It consolidates #batchfile, #PowerShell, and #POSIXShell together into 1 single file that can run anywhere, everywhere without requiring to install anything.

    Tested on #linux, #windows, and #macos. For #FreeBSD, still pending because GitHub does not officially facilitate #FreeBSD yet.

    Check it out at:

    doi.org/10.5281/zenodo.19805433