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:

https://doi.org/10.5281/zenodo.19805433

Polyglot Scripts Continuous Research

Conventional scripting practices remain tethered to platform-specific interpreters, forcing developers to maintain redundant codebases like batch, PowerShell, and POSIX shell. This poses a significant problem when there is a requirement to unify all of them under a single common command especially seen in continuous integration (CI) implementations. Moreover, the situation worsens considerably for cross-platform implementations where the initializer must locate not only the correct interpreter but also OS-specific and architecture-specific executables before running them. Unlike programming languages, there are requirements where these scripts run first to initialize the environment, such as setting up a programming language interpreter. Therefore, there is a need for these initializer unifications. This research project introduces the Polyglot Scripts, a novel unification layer that enables a single unified script file to execute seamlessly across Windows OS, UNIX, and UNIX-like OSes without modification. It is done by exploiting the syntactic intersections and conditional parser directives among the shell scripts, achieving true write-once-run-anywhere semantics at the shell level. Beyond cross-platform utility, these scripts simplify the user command into a single launch file, permit on-site editing instead of compiling|cross-compiling every time, and remain adaptive across all operating systems' technological advancements. For automation engineers/developers, this project produces a set of usable Polyglot Scripts to quickly eliminate environment anxiety, shrink maintenance overhead, and deliver future-proof workflow portability without increasing the learning curve. Polyglot Scripts: a universal runtime contract between the human and any machine in the past, present, and future. This is a self-sufficient independent research report. Therefore, you MUST ALWAYS approach it with full skepticism before reading. Let the report's data and presentation convince you. Verify the findings by reproduction and check its reference validity before concluding your judgment.

Zenodo
Microsoft testing Windows 11 batch file security improvements

Microsoft is rolling out new Windows 11 Insider Preview builds that improve security and performance during batch file or CMD script execution.

BleepingComputer

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.

https://ilfavolosomondodileo.wordpress.com/2025/10/11/come-velocizzare-lapertura-di-assoinvoice/

Một công cụ mới Blinter - Batch File Linter đã ra mắt! Công cụ này giúp kiểm tra và cải thiện chất lượng mã lệnh trong các tệp batch (.bat). Tác giả đang tìm kiếm phản hồi về các tính năng. Hãy cùng khám phá và đóng góp ý kiến để Blinter ngày càng hoàn thiện nhé!

#BatchFile #Linter #Programming #DevTools #CôngCụLậpTrình #KiểmTraMã

https://www.reddit.com/r/programming/comments/1o08ctb/batch_file_linter/

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

Some time ago, a colleague told me he was having trouble generating a batch file using PowerShell. The batch file as generated, but when he tried to run the batch file, it resulted in an error cont…

blog.bjornhouben.com

Just published this post on Medium

https://ifeanyidiaye.medium.com/how-to-make-your-r-shiny-app-into-a-desktop-application-7cb07cb81e97

If you find it helpful, please give it some claps 👏 and share it with others, too 🙏

#rstats #rshiny #desktop #application #batchfile

How to Make Your R Shiny App into A Desktop Application

In this post, I will show you how you can very easily turn your R Shiny application into a desktop application, complete with a desktop icon 😃. Note that this post will not teach you how to build a…

Medium

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.

Debuting my Twitch stream fast startup batch file tonight!

It closes down all the programs I don't need for stream, and starts up all of the programs I do need.

The only difference you might notice, as a viewer, is a significantly less stressed me 😊

#Twitch #Stream #TwitchStream #TwitchStreamer #VarietyStreamer #UKStreamer #WelshStreamer #Streamer #Batch #BatchFile #Windows #Shortcut #Shortcuts #Timesaver

https://forum.corsair.com/forums/topic/183403-running-cmd-batbatch-files-through-corsair-icue-all-versions-afaik/

A quick writeup I did on how to launch batch files with Corsair's Icue software.
That way you can launch all your applications and folders for a particular workflow by tapping one of the "G" buttons along the side of your keyboard.

I included a sample- the template for the prompt I used for all the keys. Technically could be used with any software.

#corsair #hardware #macros #batchfile #batfile #cmd #productivity

Running CMD (.bat/batch) files through Corsair Icue (all versions afaik)

Hello! I was attempting to create a batch file that would perform a bunch of actions (launching applications, opening folders, etc). I did NOT want this batch file to run silently. I wanted it to run... with a prompt asking if you were sure you wanted to run it. (so I dont launch 8 million applic...

Corsair Community

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