How to copy and paste dynamically created folders to server using VBScript -


i'm executing auto tcs & generating report folder each tc. after generated each report floder, need copy & paste report server.

i can copy reports after completion of tcs, want copy & paste each new report after completion of each tc.

how can achieve using vbscript?

dim ofso dim rfol, lfol  set ofso = wscript.createobject("scripting.filesystemobject")  rfol = "d:\test"   lfol = "\reports\*.*"  if ofso.folderexists(rfol)   wscript.quit else   msgbox rfol & " not exist. press ok copy."    ofso.createfolder rfol   ofso.copyfolder lfol, rfol, true end if 


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -