p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: Xcopy and AspExec


Message #1 by "Rex" <rexgui@n...> on Thu, 30 May 2002 04:10:59
Hi all,

I would like to ask whether there it is possible to use "xcopy" with 
aspexec component?

coz when i use such code, it just return nothing, not even an error:
Set Executor = Server.CreateObject("ASPsvg.Execute")
  Executor.Application = "cmd /c xcopy c:\temp g:\temp"
  Executor.Parameters = ""
  strResult = Executor.ExecuteDosApp
  Response.Write "<pre>" & strResult & "</pre>"

can anyone help me?
Thanks!

Regards,
Rex

  Return to Index