Playing with context items, here's another nice one you can use to set the
date and time of a file. You'll need the MiscPlugin for it to work. This
sets the Modified date, you can add/change to set created date, or
lastaccessed date my changing the "m" to "c" or "a" in the MiscPlugin.Touch
command.
 
Context commandlist command:
[EMAIL PROTECTED](_File_)
 
Script file Context.powerpro (or context.txt) under your /scripts/ folder
-----------
@SetDateTime
 
    Local sFileName = _File_
    Local idt = inputdatetime
    Local sOutput = MiscPlugin.Touch_FileTime("m", select(idt,1,8),
select(idt,9,14))
 
Quit
-----------
 
David Troesch  |  Atlanta, GA  |  ICQ# 2333123
DRM - Hear another point of view. http://craphound.com/msftdrm.txt
Funstuff: I make serious coffee. So strong it wakes up the neighbors. 


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to