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
What is the difference between function and procedure?
What are the special sub-types in vbscript?
What is sql loader? Explain the files used by sql loader to load file?
please can you help me to get a code of flames using a visual basic 6
Mention what is variant in vbscript?
Explain about arrays in vb script?
Which loop is used in case of arrays in the vbscript language?
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
how to increase the values in text box in a given text box increament by two values by clicking on button
Which object provide information about a single runtime error in a vbscript?
Which operator can be used to do an xor operation in vbscript?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
Compare java script and vb script?
Explain about adodb.stream class?
How will you compare two strings in vbscript?