Category "cmd"

Using call <file.bat> results in "sleep is not recognized as an internal or external command.."

I have a script that calls other commands in a for loop: for %%x in (%CMDS::= %) do ( call C:\%%x %1% echo "%%x complete" ) However, running this results

Are all CMD commands available within powershell?

Similar to other questions, but are ALL CMD commands usable within Powershell? In short, can I use a Powershell window to supplant CMD prompts, and do both CMD

Installing list of programs using batch files [closed]

I wish to make a batch file that installs multiple programs :INSTALLER 1. 7-Zip 2. Adobe Creative Cloud ... ... 44. WinRAR 45. WizTree 46. Zoo

Is it possible to check if a two files shares the same name using batch file?

I have here a example directory that contains files with the same name but different extensions. - MAINFOLDER ˪ TEST.JPG ˪ TEST.PNG ˪ RAN

Time maximums in Windows shell and Why?

I made a simple countdown in Windows Batch Scripting: @ECHO OFF MODE con: cols=13 lines=2 COLOR 4f TITLE Countdown Timer SET /p m=? Minutes: SET /a s = 60 * m

calling devcon from inside windows forms not working

Plan The plan is to disable and subsequently enable a device from inside a windows forms application. To test the first building block of my plan, I open cmd wi

How do I kill the process currently using a port on localhost in Windows? [closed]

How can I remove the current process/application which is already assigned to a port? For example: localhost:8080

psexec remote computer name

I am mostly new to this kind of stuff and running into a problem I don't know how to solve. Basically, it's looking at test.txt and using the list of computer n

Executing Command line .exe with parameters in C#

I'm trying to execute a command line program with parameters from C#. I would have imagined that standing this up and making this happen would be trivial in C#

Python script works in PyCharm but not in terminal

I'm currently trying to import one of my modules from a different folder. Like this... from Assets.resources.libs.pout import Printer, ForeColor, BackColor Thi

How can I return to the previous directory in windows command prompt?

I often want to return to the previous directory I was just in in cmd.exe, but windows does not have the "cd -" functionality of Unix. Also typing cd ../../..

gsutil cp command error, CommandException: NO URLs matched:

Good day, I am not a developer but running simple gsutil command to manage my google cloud storage. I ran into an issue where I run the following command form

How To Execute Windows Shell Commands (Cmd.exe) with Node JS

I would like to C:\>ACommandThatGetsData > save.txt But instead of parsing and saving the data in the console, I would like to do the above command wit

Fast(er) way to get folder size with batch script

PLEASE SEE BELOW THE ORIGINAL QUESTION FOR SOME TEST COMPARISONS OF DIFFERENT WAYS: So I tried 2 ways so far: 1.Iterate through directory using the code from

Tomcat does not start. Where was I wrong?

I did everything according to the instructions, installed all environment variables, but it still does not start. This is what is output in cmd when I try to st

How to "comment-out" (add comment) in a batch/cmd?

I have a batch file that runs several python scripts that do table modifications. I want to have users comment out the 1-2 python scripts that they don't wan

The System cannot find the file specified error while deleting folder

Hi can some one suggest me how to delete below folder(abc) using a batch file? %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\abc

Changing all files' extensions in a folder with one command on Windows

How can I use the Windows command line to change the extensions of thousands of files to *****.jpg?

How to change the Gradle version?

I would like to change the Gradle version to 3.5.1 according to the project version received from git using this eclipse. So I changed the editing path for the

Change Directory command in batch file is not working

I need to create a batch file to do a few things for a class I'm in. Everything needed to run works but I cannot find a simple answer as to why change directory