So, I want to make a script that will execute 2 .bat files and start some .exe files. However, the .bat files are supposed to keep running. I have something l
I have an *.exe that outputs this data when I run this PowerShell command: & $myExe list Where $myExe is something like C:\Temp\MyExe.exe and list is an a
I am making a batch file where I want to say "welcome <username>" but the username could be, for example, like "HiThere" and I want to p
I'm using code from How do you execute command line tools without using batch file in Inno Setup response to execute all my batch files on installation (before,
I have a script that scrapes cell value data from an excel workbook into nested tuples. Then it returns the hash of that tuple. I can run it in my IDE (Spyder
In command-prompt you can see the md5 or other hash of a file using certutil -hashfile <filepath> <hash algorithm>. This was the only option I can f
Im trying to basically do the same thing event viewer can do by creating a custom view and then save it as a evtx file. Here is what I have so far as well as th
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' I am new to Flask. I wrote this basic code and sa
I have installed python 2.7.11 from this link and then restarted my system. However when I go to cmd and run python --version. It gives me an error that py
Disclaimer: I read this and this before, but it doesn't work as I want. Description: I decided to create set of batch files for convenient way to run different
I'm trying to make a batch file from CMD with the following commands: Convert file to base 64 - using certutil command this is how the contents of the base 64
My primary use case is I'd like to use devenv.exe /edit command to open files in an already running instance of Visual Studio 2019, using git bash. The issue I
I use the following script: set /a num=%random% %%1000 +3000 timeout /T %num% taskkill /F /IM chrome.exe I trigger it using Windows task scheduler on multipl
I'm trying to obtain the resolution time of my DNS server, but I'm not sure that I'm doing it well. First of all I tried to make a ping to my DNS server IP, a
I created a batch script which runs WMIC to get the PID from a specific process. If I open the bat script I see 'ProcessID 1234' or 'No Instance(s) Available.'
I want to rename all files in folder to random name but it wants to rename all the files to the same name: ren "c:\Test\*.txt" %Random%.txt pause Output: C:\Us
Is there a way to change JDK version easily in cmd? like the version on mac. Change Default JDK on Mac.
Some things are set through the Local Group Policy Editor. Is there a way to set them in code? If not, is there a way through the command line (and therefore I
I've been trying to change the color of Anaconda Prompts(cmd), which is for now (base) E:\VSCodeProjects>. I googled for this extensively but seems like: The
I cannot install ecapture 0.1.8 Python version: 3.9.6 pip: 21.2.2 I am using Windows 10 I typed pip install ecapture and got a whole bunch of collecting and ins