Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 0
1 answer
182 views

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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="...

15 30 50 per page
1
2 3 4 5
1625