write a vb script create 5 folders test1 test2 test3 test4
test5

Answer Posted / simha

It is correct. automatically created 5 folders using this
VB script.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between function and procedure?

659


What are the special sub-types in vbscript?

640


What is sql loader? Explain the files used by sql loader to load file?

724


please can you help me to get a code of flames using a visual basic 6

1320


Mention what is variant in vbscript?

636






Explain about arrays in vb script?

682


Which loop is used in case of arrays in the vbscript language?

605


Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it

2356


how to increase the values in text box in a given text box increament by two values by clicking on button

1740


Which object provide information about a single runtime error in a vbscript?

697


Which operator can be used to do an xor operation in vbscript?

796


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1893


Compare java script and vb script?

688


Explain about adodb.stream class?

698


How will you compare two strings in vbscript?

688