![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Batch Script Hello, When I call a batch script, is a cmd.exe being run to intepret it or is it being intepreted in powershell? If it is being intepreted in powershell, is there a way that the batch script can tell whether it is being run in powershell or runned with a regular cmd? Thanks, Jonathan |
My System Specs![]() |
| | #2 (permalink) |
| Guest | RE: Batch Script *.bat and *.cmd files are interpreted by the programs that the extensions are connected with. Usually this is cmd.exe (command.com on older versions of Windows). PowerShell does not interpret them, it starts the connected program in a new separate process. Input/ouput are only redirected to the same console window. -- greetings dreeschkind "jon" wrote: > Hello, > > When I call a batch script, is a cmd.exe being run to intepret it or is > it being intepreted in powershell? > > If it is being intepreted in powershell, is there a way that the batch > script can tell whether it is being run in powershell or runned with a > regular cmd? > > Thanks, > Jonathan > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with a Batch file script (FTP) | MariusK | Vista General | 2 | 07-31-2008 08:13 PM |
| how to create a new vpn connection using script o batch | Bryan Cisneros | VB Script | 1 | 06-20-2008 02:35 AM |
| replicate a batch script to powershell | zuume84 | PowerShell | 3 | 09-17-2007 03:28 PM |
| How to run PS script with parameters from a batch file | =?Utf-8?B?Um9tYW4gS3V6bWlu?= | PowerShell | 1 | 09-09-2006 01:35 PM |
| How to run PS script with parameters from cmd batch file? | =?Utf-8?B?Um9tYW4gS3V6bWlu?= | PowerShell | 5 | 07-22-2006 10:00 AM |