Technical References - [DOS]

Executes the DOS batch file commands contained in the context and displays the results.

numero = 261
interpreted = N
texte = [DOS]DOS Batch Commands[/DOS] To embed the results of a DOS Batch file into one of your pages, put a DOS context into a template. The DOS program contained inside the context is executed, and any returned value is displayed in place of the context. Any [xxx] tags inside the context are substituted first for their real values before the batch file is executed. Example:
[DOS]dir c:[/DOS]
In this example, the DOS command "dir c:" is executed, and the results (a listing of all the files at the root of C: drive) is displayed. Caution! DOS has complete access to your hard disk and all programs on your web server. You can write a DOS context to erase the contents of your hard disk. However, remote visitors to your web site have no way of executing their own DOS contexts remotely. They can only execute DOS commands inside a template file that you have saved on your web server's hard disk. [DOS]DOS Batch Commands[/DOS]

To embed the results of a DOS Batch file into one of your pages, put a DOS context into a template. The DOS program contained inside the context is executed, and any returned value is displayed in place of the context. Any [xxx] tags inside the context are substituted first for their real values before the batch file is executed.

Example:
[DOS]dir c:[/DOS]

In this example, the DOS command "dir c:" is executed, and the results (a listing of all the files at the root of C: drive) is displayed.

Caution! DOS has complete access to your hard disk and all programs on your web server. You can write a DOS context to erase the contents of your hard disk. However, remote visitors to your web site have no way of executing their own DOS contexts remotely. They can only execute DOS commands inside a template file that you have saved on your web server's hard disk.

DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Related Readings:

[listfiles]

When listing files...

[deletefile]

Deleting a file from your website...

[cart]

Putting [cart] in your template automatically creates a unique shopping cart...

[format]

To apply formats for Dates or Times other than the current date and time...

[writefile]

[writefile] functions allows you to perform a wide variety of tasks...

[validcard]

Checks legitimacy of credit card...