469,923 Members | 1,277 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

WScript.Shell to execute Ms-DOS commands?

Good morning everybody,

How can I use WScript.Shell to execute Ms-DOS commands and can I see the
outputs commands in the asp page?

In the past, using Win. NT 4 Server and cmd..shell attribute to a variable I
could write the results in the screen page.

Any sample?

I couldnīt find any samples yet for win. 2000,ms-iii 5.0 and asp in my help
files, tutorials and guides, etc...
Jul 19 '05 #1
2 17924
What you could do is have a script to perform the dos
based operations and store results to a temporary text
file. Then have the asp page load and/or parse the text
file for display in the browser...

Examples can be seen here

http://www.microsoft.com/technet/treeview/default.asp?
url=/technet/prodtechnol/acs/proddocs/ac2k/accf_refs_samp.a
sp
Jul 19 '05 #2
hi people!
I am so sorry because the samples do not run ok nor using batch file or
using directly ms-dos command!
http://www.aspfaq.com/show.asp?id=2059

http://www.microsoft.com/technet/tre...hnet/prodtechn
ol/acs/proddocs/ac2k/accf_refs_samp.asp

only run as I used before with net send!

any solution??

thanks
VILMAR
BRAZIL

<an*******@discussions.microsoft.com> escreveu na mensagem
news:f0****************************@phx.gbl...
What you could do is have a script to perform the dos
based operations and store results to a temporary text
file. Then have the asp page load and/or parse the text
file for display in the browser...

Examples can be seen here

http://www.microsoft.com/technet/treeview/default.asp?
url=/technet/prodtechnol/acs/proddocs/ac2k/accf_refs_samp.a
sp

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by ferg | last post: by
2 posts views Thread by =?Utf-8?B?VG9kZA==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.