Skip to main content
-1 votes
1 answer
54 views

Why is the cURL command not working from the batch file? [closed]

I need to use cURL from the batch file (.bat) in Windows. My script is the following: @echo off curl "https://...url1..." -o "D:/path/file1.htm" "https://...url2..." -o &...
lyrically wicked's user avatar
-1 votes
1 answer
100 views

Why doesn't javac generate a new .class file after renaming the class?

Why doesn't javac generate a new .class file after renaming the class? My file name is Test.java. Case #1: class example { public static void main() {} } When I compiled this using javac Test....
Kunal_121's user avatar
0 votes
2 answers
86 views

Wrong encoding with Python decode in Windows command prompt

When I run decode on a byte string encoded as UTF-8 I get ANSI encoding in a Windows command prompt. >python --version Python 3.13.0 >python -c "print(b'\xc3\x96'.decode('utf-8'))" >...
August Karlstrom's user avatar
0 votes
1 answer
156 views

How to add memory to Llama 4 while using it through CMD using groq api?

I tried adding a AI on a batch file, but the problem is every time I write a new statement, the command overwrites all the text, hence I am not able to access previous memories. @echo off setlocal ...
Hacxer_2016's user avatar
0 votes
2 answers
148 views

Trying to run my file in windows command prompt but can't find pytube

I'm trying to make a python file that converts the argument (a youtube link) provided in command prompt something like C:\Users\Username\Desktop>YTMP3.py URL however, the script can't find the ...
user29712751's user avatar
0 votes
1 answer
82 views

How to run Windows command prompt when you open a JAR file [duplicate]

I am a beginner java programmer with about a week of java experience, and about three weeks of C# experience. I'm working on my first basic project, and I've exported it into a jar file, which can be ...
Zadezapper's user avatar
1 vote
1 answer
166 views

npm-prefix.js is not recognized as an internal or external command in Windows 11

Question: I recently installed Node.js from the official Node.js website. However, when I try to check the version of npm or perform any npm-related operations, I encounter the following error: CALL &...
Jai Ganesh's user avatar
0 votes
1 answer
68 views

How to dynamically print exclamation mark from a variable while using Delayed Expansion and Loops in CMD?

I have been trying to print filenames and some of them contain "!" within their names. The current output I have, it prints the filenames without the "!". I tried to Enable and ...
CodingNoob's user avatar
1 vote
1 answer
484 views

byobu - how to disable byobu_prompt_runtime

I don't want to disable the byobu prompt (byobu-disable-prompt) as I prefer the byobu coloured prompt. But, I do want to remove the runtime and return behaviour to how it was on Ubuntu 22.04 and ...
dmgeurts's user avatar
  • 167
0 votes
1 answer
63 views

Same command running differently in Vscode terminal and Command Prompt

I am trying to test my node application and I have multiple test files so I used npm run test -- --test-concurrency=1 flag to test one file at a time.When I run that command in Vscode terminal the --...
suyog's user avatar
  • 159
1 vote
1 answer
178 views

How to create dummy copies of folder or file with a batch file via right click menu item in Explorer?

So, I want to right click on a folder and create the dummy copy of that folder with 0 byte files. I use robocopy command as follows: For a folder: Robocopy /Create /Purge /S "%cd%" "%cd%...
Gurpreet Sidhu's user avatar
1 vote
1 answer
68 views

AutoIt StdoutRead does not capture python logging module to stdout [closed]

I am trying to get the full stdout output of my python script execution available in my AutoIt calling script, I just noticed that the standard logging call is not captured by StdoutRead function in ...
mhanuel's user avatar
  • 105
3 votes
1 answer
170 views

Delete all files in a folder (but not the folder itself) except for specific type files

I have a folder with lots of subfolders, each subfolders contain a .cpp file and multiple unimportant files. I want to run a command that go inside each subfolder and delete everything but the folder ...
Loaf's user avatar
  • 61
-1 votes
2 answers
71 views

Copy the newest versions of multiple files [closed]

I am looking for a Batch Script to look after the most recent versions of a file. The file name is automatically generated and often these files are having multiple versions. I am looking for a way to ...
suraround's user avatar
0 votes
3 answers
928 views

How to run .py script from anywhere in command line (windows)

I know this has been asked plenty of times but I haven't found a satisfactory answer to my particular question (maybe it's out there but I didn't check every single related thread). Simply put, I want ...
Daniel Podobinski's user avatar

15 30 50 per page
1
2 3 4 5
257