I have some scripts that have been written into BAT files. I would like to know if there is a utility that will allow me to convert these BAT scripts into VB scripts?
I take it you mean the files have lines of Dos commands. Unfortunately I have not seen anything which does this type of conversion.
However, if the scripts are doing simple things, like moving files, then a rewrite in VBscript would not be that difficult, look on it as a learning opportunity. If however they are heavily dependent on some of the more obscure DOS commands then I would leave them alone. If it ain't broke don't fix it
problem is I need to convert them so they will be conpatable with a new software package being deployed within my company. Mostly the commands involve creating directories, modifying the registy and changing permissions. Is there a good resource online where I can learn some VBS?
Hi Cipro best resources are: 1. Microsoft.com, do a search for VBscript, download the VBScript packages and documentation. All the VBS books I've ever read seem to be based on this. 2 Tek-tips have a VBS forum., do yourself a favour and sign up 3 The reference book i use mostly is O'Reilly's VBScript pocket reference. If you are fairly competent with VB then you wont have any problem with VBS, its just a cut down version of VB(no forms). Life will be even easier if you have been using objects in VB, especially for file handling.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.