answersLogoWhite

0


Best Answer

Do you mean script file loaded in an HTML document, via the <SCRIPT src=filename> tag? If so, define one or more functions within that file, and pass parameters to the function[s].

Or do you mean client-side stand-alone scripts, executed by the script host? If so, pass arguments on the command line, after the script name, and access them within the script using the WScript.Arguments object.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Script files are the source code for an interpreted program.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is script file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a .sh file?

A .sh file is a shell script.


What is a script file in Linux?

A script is a file that contains a set of commands to be performed. Instead of you manually entering all of the commands into the console, the script is run and does it automatically.


What text file or script that contains the answer to installation questions?

Answer File.


What is the command to execute a shell script?

If the shell script is readable and executable then to execute it just type the name of the shell script file. Otherwise, you can explicity call a shell interpreter to run the file as a shell script, i.e., ksh myfile


How you can create a script file using VI editor?

Run 'vi /path/to/file/name', where 'name' is whatever you want the script to be called. Then edit the file like you would any other. Once you're done writing the script, close vi (don't forget to save the file on your way out! entering ':wq' does this). In order to be able to run your script, run 'chmod +x /path/to/file/name'.


How do you create a PHP script?

To create a PHP script all you have to do is create a new file, then save the file as "filename.php". It must have a .php file extension.After that open the file and put in the PHP tags like shown.Then you write your PHP script within those tags and upload to your web space and check it out.


Which attribute is used in script tag to specify a file containing the java script statements?

The script tag will have the "src" attribute to identify the location of the script's contents.


When i open Xp then it says Windows Script Host can not find script file CDocuments and SettingUSERboot.vbs.?

Assuming the message states,"Windows Script Host cannot find the script file C:\Documents and Settings\&lt;Username&gt;\boot.vbs", where &lt;Username&gt; is your user account name. Sounds like a crippled virus or worm. The computer thinks it is supposted to start the script upon Windows startup, but the file is missing. There is no such file included with Windows by default.


Write a shell script that counts the no of lines and words in a file?

You don't need a script, just use the 'wc' command: # Lines wc -l &lt;file&gt; # Words wc -w &lt;file&gt;


How do you make ajava script file?

JavaScript files can be created with the extension .js Note that an accompanying HTML file must reference it in order for it to run as JavaScript. You can include the file in your HTML document by adding the following to the head or body of the document: &lt;script type="text/javascript" src="myJavaScriptFile.js"&gt;&lt;/script&gt; Replace myJavaScriptFile.js with the file name of your JavaScript file.


Does the external JavaScript file have to contain the script tag?

No, just the HTML file. If you include the tag, it will cause a syntax error. The best way to think of it is that the HTML file already has the tag in it, and the external JS file is inserted into the HTML file at that point, between the tags.


How do you add an alias to an initialization script file in Linux?

There might be some properties file