Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
what is batch file ?
how to use batch file ?
Posted

Quote:
A batch file may contain any command the interpreter accepts interactively at the command prompt. A batch file may also have constructs (IF, GOTO, Labels, CALL, etc.) that enable conditional branching and looping within the batch file.
From Wiki

Recently i created a windows 8.1 app, and when i created Package for that app to install in my test machine it generated power shell script file.
PS file has set of commands which run and install my app on client machine.
 
Share this answer
 
A batch file is a sequence of instructions to the operating system to be executed in order. It may contain some conditional execution and branch logic, but it's generally pretty basic.
http://en.wikipedia.org/wiki/Batch_file[^]

You can treat them as standard executable files, and run them with Process.Start
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900