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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -