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. vikita

    How do i rename a file in vb script

    jfdabiri, thanx a bunch worked perfectly.....
  2. vikita

    How do i rename a file in vb script

    ? is a special character. the following code renames the file but just a small hick up on results: strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colFiles = objWMIService.ExecQuery _ ("ASSOCIATORS OF {Win32_Directory.Name='C:\Folder'}...
  3. vikita

    How do i rename a file in vb script

    jfdabiri, the code can rename a file alright but... from the scenario i gave...this file changes the name with every new date...so it would not give the expected results. I did some research and landed on using regular expressions in VBS. as this would replace the string LOA with the string...
  4. vikita

    Avg. Disk Queue Length question

    Try using perfmon... then select your required specs to monitor. Click on start select run. type perfmon.
  5. vikita

    How do i rename a file in vb script

    dm4ever, your code would work only if the filename wasnt changing. but in this scenario it changes depending on the date flag the file is given by the process. PHV, do i run this code as a batch file. When i do, there is no difference as i think what happens is that it counts from the 4th...
  6. vikita

    How do i rename a file in vb script

    Hi i am not a programmer but this site has been very helpful to me. I need to rename a file that is created by a process called end of day. The file is as follows after creation LOA070402.zip where 07-year, 04-month, 02- date. So the date flag changes by each day... The file should then be...

Part and Inventory Search

Back
Top