View Full Version : Scripts ?
Hi, a few questions on scripting.
1. is scripting the win32 version of batch files?
2. Are they more complex than batch files to write?
3. Do you need to buy a compiler to get the scripts to work or are they like batch files click and go?
4. Can they carry out commands whilst windows hasn't yet loaded like batch files can?
5. Is there anywhere that I can see a batch file with its equivalent written as a script so as to compare?
6. depending on 3 as to whether having to buy a compiler does the Win98fe come with all the tools to create scrips?
Simon Clausen
01-28-2001, 11:28 PM
1. Is scripting the win32 version of batch files?
Scripting shares a similar concept to batch files, as they are plain text and interpreted not compiled. They are far more powerful the batch files when working in the Windows environment, as there are functions to do just about anything another Windows program can do.
2. Are they more complex than batch files to write?
A basic script is about as simple as a basic batch file, but since scripts have the ability to perform far more functions a more involved script can become quite complex.
3. Do you need to buy a compiler to get the scripts to work or are they like batch files click and go?
No, everything you need to write and run scripts is available from Microsoft for free, or included with you operating system.
4. Can they carry out commands whilst windows hasn't yet loaded like batch files can?
Windows scripts can be run on the command line, but there is no script file that has the same tasks as the AUTOEXEC.BAT batch file.
5. Is there anywhere that I can see a batch file with its equivalent written as a script so as to compare?
Not yet, I'll add that to my list of tasks to write a tutorial in the conversion of batch to scripts. Have a look through some of the examples at http://scripting.winguides.com/ (http://scripting.winguides.com/>http://scripting.winguides.com/</a>) for the relevant language references, links and downloads.
Hope this helps.
Regards,
Simon Clausen
---
WinGuides.com - Windows Guide Network
<a target="_blank" href=http://www.winguides.com/>http://www.winguides.com/</a>
Thanks for that, I'll have to look into it especially since the Dos/Windows marrige is at an end.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.