Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. causative

    7-zip using vbs

    There are many samples of such a scripts, but I wonder is it a good solution and fast solution to do it in WshShell.Run method. I read that is not, but meaby somebody uses it on a daily and know something more.... This seems to be quite complicated.
  2. causative

    7-zip using vbs

    Hi First of all I would like to learn this. Second - I have few other scripts in vbs and I could include it on it to be my work more automated
  3. causative

    ctrl + h in multiple files

    THX that code work's great
  4. causative

    ctrl + h in multiple files

    Hi This is Richard Mueller script MVP ADSI ( it replace 1 string to another 1 in multiple files in directory ) Option Explicit Dim objFSO, strFolder, objFolder, objFile Dim strOldValue, strNewValue, objRead, strContents, objWrite Const ForReading = 1 Const ForWriting = 2 strFolder =...
  5. causative

    7-zip using vbs

    Hi I have a question is it a good option to compress folders to separate archives using 7-zip in vbs? It's easy to do it in bat: FOR /D %%F IN ("*") DO ( "C:\Program Files (x86)\7-Zip\7z.exe" a -t7z -mx9 -r -y "%%F.7z" "%%F" ) I was searching for something in vbs, but codes are very long and...
  6. causative

    count files containing specific string in a filename

    Now it works perfectly. Thx
  7. causative

    count files containing specific string in a filename

    It returns error on line 2 - stringtofind is not declared so I changed line 1 to Dim fso, count, src, folder, file, [highlight #FCE94F]stringtofind[/highlight] but now it returns error on line 9 If instr(file.name, stringtofind, 0) > 0 Then Type Mismatch
  8. causative

    count files containing specific string in a filename

    Hi forum members! This code below count the number of txt files. What should be changed to count files containing specific string in a filename? Option Explicit Dim fso, count, src, folder, file Set fso = CreateObject("Scripting.FileSystemObject") src = "C:\Users\Mark\Desktop\test" Set...
  9. causative

    script to generate monthly

    THX it works and it isn't very difficult
  10. causative

    script to generate monthly

    You have a right SkipVought, guitarzan. It would make problems with sorting, so mmyy is OK, but how to generate 12 folders not just a one?
  11. causative

    script to generate monthly

    Hi thx for replay So far I have tried: strFolder = Month(date) & "_" & Year(date) Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CreateFolder(strFolder) I'm not a programmer so my code is very simple
  12. causative

    script to generate monthly

    Hello I need your help with the script. I want to create monthly folders for example: Jan14, Feb14, March14 and so.... for one year Is it possible to do? Thx in advice

Part and Inventory Search

Back
Top