windows - Change modification time stamp with vbscript -


i need change modification time stamp in windows files vbscrip after copying them. thanks

you can setting folderitem.modifydate property. described here. sample code:

set objshell = createobject("shell.application")  set objfolder = objshell.namespace("c:\scripts") set objfolderitem = objfolder.parsename("file.jpg")  objfolderitem.modifydate = "01/01/2008 8:00:00 am" 

Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -