24,371 questions
Score of 0
1 answer
182 views
Playwright Install Error - npx playwright install [duplicate]
I need help on installing playwright binary using our corporate inside artifactory network.
I had configured npmrc using using
npm login --registry=https://artifactory.global.mycompany.com/artifactory/...
Score of -6
0 answers
70 views
Why is this cmd.exe batch if-statement erroring? [duplicate]
I'm running Windows 11 and when I run the following batch file, after I press the enter key, it displays in the command line console:
100 was unexpected at this time.
\>if /A 100 LSS 10 echo "...
Score of 2
2 answers
131 views
Visual Studio console text vertical line spacing doesn't match .exe build console
I am making an ASCII snake game in Visual Studio, and it works when I run and build it using F5, but when I run the built .exe file or the shortcut to that file, the vertical spacing between the ...
Score of 1
1 answer
99 views
gcc gfortran compiler does not recognize blank spaces inside filenames [closed]
Is there a way to enforce the execution of the Fortran compiler contained in gcc-16.1.0-64 to recognize a blank space in a filename when executed in the Windows cmd.exe command line?
Others, like the ...
Advice
1
vote
2
replies
115
views
How to bypass the 8-digit mark?
I have a directory with about 15,000 files (images, movies. sounds, etc.), "Dir1".
I also have a file with about 2,000 files that I need to find in "Dir1" and transfer to "...
Advice
0
votes
2
replies
69
views
Learning Batch to automate basic steps in Windows 11
What would y'all say is the fasted way to learn and use batch?
I've started with a few basic scripts to automatically open a few programs on startup,
Additionally a generic matrix scrolling text thing ...
Advice
0
votes
0
replies
105
views
How to programmaticaly get ntfs extended attributes (e.g. "ALOM") without using cfapi?
I'm trying to programmatically get basic information about status of onedrive/sharepoint mounted files (e.g. is it cloud-only ?, is it pinned ? is it syncing ?) but without going too complex (i.e. ...
Score of 2
0 answers
153 views
Fixing error CS0579 when creating a C# library
I'm creating a library in C# on .NET 8.0 and using it in another project.
File.csproj of my project:
<ItemGroup>
<ProjectReference Include="sub-modules/SimpleServerHTTP/...
Score of 2
2 answers
136 views
How can I prevent Windows PowerShell from breaking my bun/npm commands
I have a custom script in my package.json that commits the working tree, bumps the version of my npm package, and pushes it to the remote.
{
"scripts": {
"bump": "git ...
Score of 0
0 answers
293 views
Gibberish symbols in Codex under Windows cmd in Windows Terminal
This is the kind of output I see in OpenAI's Codex under Windows Cmd in Windows Terminal (:
Note all the extra symbols. In particular, look at options 2 and 3.
Gemini suggested running chcp 65001. ...
Score of 1
1 answer
138 views
How to make a batch file to ping hosts to confirm they are up?
I try to make a batch file to just confirm hosts are up. I have sections that work just fine but when trying to put them together it all goes to hell.
The code is as follows:
@echo off
setlocal ...
Score of 4
1 answer
193 views
(windows assemby) GetCommandLineA returns string with extra space after the executable name
In cmd, I wrote the following command to test an executable named "msl.exe":
msl test c.exe
The executable calls GetCommandLineA (from the Windows API) and prints the command line. However, ...
Advice
1
vote
2
replies
105
views
Get cmd file for copying Files
I need to build a cmd file that copies "Merge.txt" from the same directory of cmd file to "D:\StackFlow\"
Note: I want to copy that file whenever I change the directory source
Score of 0
1 answer
57 views
One line cmd nested FOR loop within FOR loop with delayed variable expansion (not in a batch file!)
I can't recall (and can't work out) if there is a way to have a cmd FOR loop nested within another FOR loop where for each outer FOR loop iteration, the inner FOR loop is iterated.
For example:
FOR /F ...
Score of 1
1 answer
151 views
Escaping % from nested Batch scripts inside a loop
I have a batch escaping problem involving 3 files:
chain.bat conatins this code:
for %%x in (%*) do (
%%~x
)
b.bat contains this code:
chcp 65001 >nul
start chrome --profile-directory="...