tagged [command]

how to run python files in windows command prompt?

how to run python files in windows command prompt? I want to run a python file in my command prompt but it does nothing. These are the screen shots of my program i am testing with and the output the c...

Java: Check if command line arguments are null

Java: Check if command line arguments are null I am looking to do some error checking for my command line arguments However, this returns an array out of bounds exception, which makes sense. I am just...

Command to list all files in a folder as well as sub-folders in windows

Command to list all files in a folder as well as sub-folders in windows I tried searching for a command that could list all the file in a directory as well as subfolders using a command prompt command...

11 Mar at 08:35

Launch Program with Parameters

Launch Program with Parameters How do I write a very simple program that uses the command line to navigate to a program in the user's Program Files directory, then launches the `.exe` with a parameter...

Pass a variable to a PHP script running from the command line

Pass a variable to a PHP script running from the command line I have a PHP file that is needed to be run from the command line (via [crontab](https://en.wikipedia.org/wiki/Cron#Overview)). I need to p...

How to add a set path only for that batch file executing?

How to add a set path only for that batch file executing? Basically, I know I can go through my control panel and modify the path variable. But, I'm wondering if there is a way to through batch progra...

Start/Stop and Restart Jenkins service on Windows

Start/Stop and Restart Jenkins service on Windows I have downloaded "jenkins-1.501.zip" from [http://jenkins-ci.org/content/thank-you-downloading-windows-installer](http://jenkins-ci.org/content/thank...

How can I find out if an .EXE has Command-Line Options?

How can I find out if an .EXE has Command-Line Options? Suppose you have an .EXE and you want to check if it has Command-Line Options. How can one know if the .EXE has this ability. In my case I know ...

Open text file and program shortcut in a Windows batch file

Open text file and program shortcut in a Windows batch file I have two files in the same folder that I'd like to run. One is a `.txt` file, and the other is the program shortcut to an `.exe`. I'd like...

When implementing command line flags, should I prefix with a fowardslash (/) or hyphen (-)?

When implementing command line flags, should I prefix with a fowardslash (/) or hyphen (-)? Are their any conventions (either written or just generally understood) for when to use a (/) or a (-) when ...