Ferneaux
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 3 articles for 0.302 sec
Hi Ferneaux, Thanks for your feedback. I'm very glad to hear my suggestion is helpful for you. If you get the filepath for each file which you want to rename, you can use the following script to get the file object and then rename it. Example: Dim fso,f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFile("d:\aaa.doc") f.name="bbb.doc" //f.Rename("bbb.doc") Hope     

Group: microsoft.public.scripting.vbscript · Group Profile · Search for Ferneaux in microsoft.public.scripting.vbscript
Author: WenYuan Wang [MSFT]
Date: Apr 22, 2007 21:57

Wen Yuan, Sorry for not getting back sooner.... had to work on other issues. Unfortunately, that script of yours did not work either. It seems as these files are hidden from WMI queries as well. However, I found a way around my problem by utilizing the Windows DIR command and its /S and /B parameters in the script. I was surprised at the simplicity of it: '<=======================
Show full article (0.46Kb)
    

Group: microsoft.public.scripting.vbscript · Group Profile · Search for Ferneaux in microsoft.public.scripting.vbscript
Author: Ferneaux
Date: Apr 20, 2007 09:43

Show full article (2.00Kb) · Show article thread
    

Group: microsoft.public.scripting.vbscript · Group Profile · Search for Ferneaux in microsoft.public.scripting.vbscript
Author: WenYuan Wang [MSFT]
Date: Apr 17, 2007 06:08

Show full article (0.22Kb)