ASP Server.Execute Method Last Updated : 18 Apr, 2023 Comments Improve Suggest changes Like Article Like Report The ASP Server.Execute Method is used to execute various ASP scripts from the ASP File. This method is quite similar to the procedure call approach in some programming languages. Syntax: Server.Execute(path) Parameter Values Path: It stores a string value that represents the location of the .asp file to execute. Example Code: Sudo.asp <% response.write("Geeks For Geeks!<br>") %> GFG.asp <% response.write("Welcome to <br>") Server.Execute("file2.asp") %> Output Welcome to GeeksForGeeks Comment More infoAdvertise with us Next Article ASP Server.MapPath Method M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Methods Similar Reads ASP Server CreateObject Method The ASP Server CreateObject Method is used to create an instance of a server object. The object created by this method has page scope. These objects are destroyed when the server finished the Current ASP page. We generally use the <object>tag in Global.asa file to create an object in the Sessi 1 min read ASP Server.HTMLEncode() Method The ASP Server.HTMLEncode() Method is used to convert an HTML code to a string. It is used to encode form data and other client request data before using it in the web application. When the string to be encoded is not a double-byte character set, this method will convert the characters as given belo 1 min read ASP Server.MapPath Method The MapPath method is used to define a relative virtual path for a physical directory on the server. Note: This method cannot be used in Session.OnEnd and Application.OnEnd. Syntax: Server.MapPath(path) Parameter Value: path: It stores a string value that defines the relative or virtual path to map 1 min read ASP Delete Method The ASP File.Delete Method is used to delete a particular file or folder from a system. Syntax For file object:FileObject.Delete[(force)]For folder object: FileObject.Delete[(force)] Parameter Values: force: It is an optional attribute. It contains a Boolean value which indicates that whether a re 1 min read ASP Server.Transfer() Method The ASP Server.Transfer Method is used to send all the information that has been created in one asp file to another .asp file. Note that the control will not return to the ASP page from where it was transferred when the second ASP page completes executing its tasks. The transfer includes built-in ob 1 min read ASP Server.GetLastError() Method (ASP 3.0) The ASP Server.GetLastError() Method is used to return an ASP Error Object which defines the error condition that occurs. Generally, A website uses a Default file \iishelp\common\500-100.asp to encounter an error in the ASP file. Or we can also create our own file. This method is available only befo 2 min read Like