Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6055751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:17:58+00:00 2026-05-23T08:17:58+00:00

We are currenly using bat/cmd files to execute jobs, examine a return code and

  • 0

We are currenly using bat/cmd files to execute jobs, examine a return code and based on the return code execute the next sequence.

I am thinking that .VBS extensioned files may give us a richer language for doing this kind of thing than batch files.

If this is correct, why would someone choose bat files over VBS files? Are VBS files considered “Windows Scripting Host” files? how is this related to Powershell?

Sorry, I am a bit ignorant on my options and the differences.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:17:59+00:00Added an answer on May 23, 2026 at 8:17 am

    Writing batch files was powerfull, it still persist nowdays, in fact people are still maintaining batch but it’s old fashion.

    A few years ago Microsoft introduced Windows Script Host, which is an infrastructure of scripting languages that allows the writing of Visual Basic or Java scripts. This infrastructure allowed scripters to interact with COM objects and in so doing access to almost everything in Windows. (edited) according to @EBGreen remark, WSH is present from W2K to W2K8 R2

    In 2006 Microsoft introduced PowerShell. This scripting environment works on the top of the .Net framework. This means that the PowerShell scripter is able to do most of the things a C# prorammer does. The difference with VBS is that PowerShell is more concise and more coherent than VBS because everything is done using .NET types. Powershell is procedural programming using objects (properties and methods). (edited) according to @EBGreen remark, PowerShell V1.0 is present in Vista and W2K8 and PowerShell V2.0 is present in Windows 7 and W2K8 R2. Powershell 2.0 can be deployed begining on Windows XP SP2.

    As far as process control is concern, with powershell you can start, stop, wait for the end of a process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I already have a code generator based on SQL DMO, that writes the a
I have this assignment due that requires the usage of FLTK. The code is
I'm using GWT (currenly working with google's eclipse plugin), and I'm trying to throw
I'm using some Carbon code in my Cocoa project for handling global key events
I currently have some code that cycles through a text file looking for a
I have a mature MFC C++ application that displays on screen and prints using
my site is using a tool tip from http://boxover.swazz.org (website is not currenly available)
I am currently writing a .bat batch file that executes an installation file. Before
I am using a pretty long StringFormat for my bound tooltip and am currenly
Currently using Gettext on a project and the .po files are nicely kept under

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.