TCC = "Son of 4DOS".
b

------ Original Message ------
From "Nicky Avery" <[email protected]>
To [email protected]
Date 2/14/2023 8:56:22 PM
Subject ***SPAM*** Re: [RBASE-L] - Filename COPY, and the persistent date/time stamp



Bruce,

I remember 4DOS but didn't know about TCC. Interesting. Thanks.

Nicky


On 2/14/2023 7:07 PM, Bruce Chitiea wrote:
Nicky: Great stuff! Did a quick spin through all three, the SourceForge TOUCH option being best suited for .RMD-embedded operation. Revisited an old (1990's) association with JPSoft's TCC.exe replacement for CMD.EXE. Used their version of TOUCH per below (Courier New font recommended):

{safesectors | snippet | change filename date/time}
--rbse: generic
--file: ssi_tcc_TOUCH_experiment.rmd
--auth: bachitiea
--crea: 2023-02-14

 {email blast}
 {change the date/time of a target file}
{use the TOUCH command run from within the JPSoft TCC.EXE command-line replace-
  ment for CMD.EXE}

--change the date/time of the target files -------------------------------------
 {for production, loop through the parameter sets
  creation date/time: parameters [ /dc | /tc ]
  modified date/time: parameters [ /dw | /tw ]
  last accessed d/t:  parameters [ /da | /ta ]}

{startup parameters: /D=disable autoruns; /H=hide window; /S=cmd.exe compatible
  quoted-string handling; /C=close after execution}

 {setup}
  CLS
  SET DATE YYYY-MM-DD
  SET VAR +
  vapos TEXT = '''' , +
  vnew_date DATE = .#DATE , +
  vnew_time TIME = .#TIME , +
  vnew_targetFile TEXT = 'humpty.rmd' , +
  vnew_tccProgram TEXT = 'c:\program files\jpsoft\tcc29\tcc.exe|' , +
  vnew_tccStartup TEXT = '"/D/H/S/C' , +
  vnew_tccCommand TEXT = ('TOUCH /dw' + (CTXT(.vnew_Date)) +  +
                               ' /tw' + (CTXT(.vnew_time)) )

 {build ampersand variable}
  SET VAR +
  vamp_launchString TEXT = +
  (.vapos + +
   .vnew_tccProgram + +
   .vnew_tccStartup & +
   .vnew_tccCommand & +
   .vnew_targetFile + +
    '"|w' +  +
   .vapos)

 {for R:Prompt visual confirmation}
  WRITE .vamp_launchString

 {do the do}
  LAUNCH &vamp_launchString

--cleanup ----------------------------------------------------------------------
  LABEL cleanup
  SET DATE MM/DD/YYYY
  CLEAR VAR vnew_%, vamp_%

--routine exit -----------------------------------------------------------------
  LABEL routineExit
  RETURN

NOTE that R:BASE displays the file modification date for files within the Database Explorer. For this proof-of- concept, I did not provide an error-return capture. Given that the presence of the target file would be verified
upstream, not a big concern. jpsoft.com. worth a look.

Warmest R:egards, Bruce

Bruce A. Chitiea |  SafeSectors, Inc.
112 Harvard Ave #272 |  Claremont CA 91711-4716 | USA
+011 (909) 238-9012 m |  [email protected]



------ Original Message ------
From "Nicky Avery" <[email protected]>
To [email protected]
Date 2/14/2023 3:29:42 PM
Subject ***SPAM*** Re: [RBASE-L] - Filename COPY, and the persistent date/time stamp


Hi Bruce,

There is an article here <https://www.itechtics.com/change-timestamp/#how-to-modify-file-and-folder-timestamps> which explains the delights of Windows timestamps. Having learned more than you might have wished, you can find the utility equivalent of the Linux command, touch, which does what you need. Confusingly, there are a couple (?) of Windows command line utilities called Touch. One is downloadable <http://www.helge.mynetcologne.de/touch/index.htm> from the author and the other is at SourceForge <https://sourceforge.net/projects/touch-win32/files/v1.21/>. Also, I found File Time Changer <https://securityxploded.com/file-date-time-changer.php>.

Maybe one invoked through launch would work for you.

Nicky



On 2/14/2023 2:08 PM, Bruce Chitiea wrote:
Thank you, Razzak:

I once impugned a litigant's sworn testimony by revealing the metadata of files he had entered into evidence, and of which he had no knowledge. So, I'm with you, below, so far as the Windows Explorer goes.

What I'm looking for is the ability, within an R:BASE .RMD code file, to capture and record the date/time of a COPY process to the new file, for display within the Command file listing of the R:BASE Database Explorer.

I suspect I can accomplish this with a LAUNCH out to Powershell or JPSoft TCC, but wouldn't it be cool if R:BASE could do it natively?

Always appR:eciative, Bruce

Bruce A. Chitiea |  SafeSectors, Inc.
112 Harvard Ave #272 |  Claremont CA 91711-4716 | USA
+011 (909) 238-9012 m |  [email protected]


------ Original Message ------
From "A. Razzak Memon" <[email protected]>
To [email protected]
Date 2/13/2023 3:16:59 PM
Subject ***SPAM*** Re: [RBASE-L] - Filename COPY, and the persistent date/time stamp

Bruce,

Change your Windows File Explorer View properties to see the Date created and Date modified columns to see the difference.


Very Best R:egards,

Razzak

On 2/13/2023 5:48 PM, Bruce Chitiea wrote:
All:

Consider a file displayed in the RGBX5E Command file listing:

template.rmd | 02/12/2023 | 13:40

On Monday, Feb 13, at 12:00, use the COPY command within an EEP to make a copy:

COPY template.rmd showtime.rmd

Now, in the file listing, see:

template.rmd | 02/12/2023 | 13:40
showtime.rmd | 02/12/2023 | 13:40

... the date/time stamp does not change.

Is there a native R:BASE command/function set which will update showtime.rmd's date/time stamp? (Oh, I've been looking.) Or am I off to to LAUNCHing Windows' Powershell?

Thanks much, Bruce



--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/6265a4bb-af01-0dc5-bbf4-bad38817fe16%40rbase.com <https://groups.google.com/d/msgid/rbase-l/6265a4bb-af01-0dc5-bbf4-bad38817fe16%40rbase.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/em9a26be68-da84-4d54-ae4c-eff66472d696%40c0de76fa.com <https://groups.google.com/d/msgid/rbase-l/em9a26be68-da84-4d54-ae4c-eff66472d696%40c0de76fa.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/9df18dae-1b10-f577-1d44-b968642e231d%40wwavs.com <https://groups.google.com/d/msgid/rbase-l/9df18dae-1b10-f577-1d44-b968642e231d%40wwavs.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/em25f05cc9-ed17-4866-8b63-e221bce7b75e%4011f51b3c.com <https://groups.google.com/d/msgid/rbase-l/em25f05cc9-ed17-4866-8b63-e221bce7b75e%4011f51b3c.com?utm_medium=email&utm_source=footer>.


--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/baa2924a-8e25-0dd3-5575-c5aee53926ac%40wwavs.com <https://groups.google.com/d/msgid/rbase-l/baa2924a-8e25-0dd3-5575-c5aee53926ac%40wwavs.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/em476663c2-37a7-40f3-8f8f-984ea28dc900%408131d718.com.

Reply via email to