Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: Frog357Posted on 2003-05-19 at 11:24:24ID: 8546218
Have you tried to do this and received an error? I would assume, if needed you can restore the functionality to get this to work. I do it like this:
pt.shell")
Sub RunDOSProg(strCMD)
Set sh = Server.CreateObject("wscri
sh.run "%comspec% /c " & strCMD & ",0,true
Set sh = nothing
End function
If this gives you an error can't create object, you'd have to re-register the DLL/OCX which provides the wscript.shell object.