1.

Solve : Place *.vbs Script under Computer Programming or under Microsoft Dos?

Answer»

Place *.vbs SCRIPT under Computer Programming or under Microsoft Dos ?If you want to use it from the command prompt, use the DOS forum, otherwise treat it as a programming question, is my opinion.
Quote from: Salmon Trout on SEPTEMBER 12, 2009, 08:34:13 AM

If you want to use it from the command prompt, use the DOS forum, otherwise treat it as a programming question, is my opinion.


Any complied program or script can be run from the command prompt.

So, all computer code can be placed in the "Microsoft Dos" section?

Only Batch files should be placed in the "Microsoft Dos" section.

There is often a request for a Batch file and the *.vbs script appears in the "Microsoft Dos" reserved area.Quote
Any complied program or script can be run from the command prompt.

Now that's somewhat silly... you can run word from cmd, but your surely not going to post requests for help with it in the DOS forum.

IMO the fact that we even help with Command Prompt Issues in the DOS forum is leniency; for all intents and purposes questions about the windows shell would go into the windows forum... or perhaps, more appropriate, a subforum?Quote from: BC_Programmer on September 12, 2009, 09:17:46 AM
questions about the windows shell would go into the windows forum... or perhaps, more appropriate, a subforum?

I agree, I've decided. DOS is DOS, and NT family cmd is not DOS. Maybe one should be created? In the interim, I suppose it's a programming matter, especially if it's the kind of thing that could be adapted for e.g. VB6 or VBAQuote from: BC_Programmer on September 12, 2009, 09:17:46 AM

IMO the fact that we even help with Command Prompt Issues in the DOS forum is leniency; for all intents and purposes questions about the windows shell would go into the windows forum... or perhaps, more appropriate, a subforum?

My question is: Should a *.vbs script be used to answer a batch question in the Microsoft Dos section?Quote from: billrich on September 12, 2009, 09:50:16 AM
My question is: Should a *.vbs script be used to answer a batch question in the Microsoft Dos section?

Perhaps, if it offers tangible advantages over a batch solution, or if the DESIRED objective is not attainable in one, No, if its only purpose is to flatter the ego of its poster, or if the poster is a monomaniacal vbs zealot.

that wouldn't be a question at all if the "microsoft DOS" section was for pure DOS RATHER then both pure DOS and command prompt.

However when the Poster is USING windows, that is, cmd, as opposed to pure DOS (where scripting wouldn't be available anyway) then a VBScript solution is acceptable, where a simple batch solution is not easily contrived.

however queries regarding VBScript should be directed to the "programming" forum, since they do not necessarily pertain to the command prompt.if you ask me, i would say totally abolish the section "Microsoft DOS", as it is confusing to many. Why not just a "Batch" or "Scripting" sub section under "Microsoft Windows". If need be, "Microsoft DOS" to be changed to "Pure DOS" (or the likes of it) as in that old dinosaur OS that some people still use today.


Discussion

No Comment Found