From: |
"Steven Levine" <ecs-isp@2rosenthals.com> |
Full Headers Undecoded message |
Subject: |
Re: [eCS-ISP] clamscan issue - directories with a lot of files |
Date: |
Tue, 12 Nov 2024 14:36:35 -0800 |
To: |
"eCS ISP Mailing List" <ecs-isp@2rosenthals.com> |
|
---|
In <list-11212520@2rosenthals.com>, on 11/12/24
at 11:51 AM, "Massimo S." <ecs-isp@2rosenthals.com> said:
Hi Massimo,
>is there a way to call 4os2 from a batch?
I am not sure what you are asking here. Do you mean can you run 4OS2
commands from a REXX script? If so, the answer is yes. If CMD.EXE is
your session shell, you do need to prefix the 4OS2 commands with 4os2 /c.
>anyway if i try to run
>dir /[d-5,%_DATE] /a:-d /f /s . >5days.lst
>it do not work, i'm new with 4os2
I'm not sure what you did wrong.
[d:\tmp]dir /[d-5,%_DATE] /a:-d /f /s
D:\TMP\dooble5-20241109-1833.log
D:\TMP\0testing\0ko-killth\abd3b9f40ef3ed0ceb5716f79a0eba34-99ac41c0cad1e6c9263be3a2347738f040057156.zip
D:\TMP\0testing\0ko-killth\killth-notes-shl.txt
D:\TMP\0testing\0ko-killth\killth.c
and
[d:\tmp]ver
4OS2 3.11.5-shl OS/2 Version is 4.50
indicates that I am running 4OS2 not CMD.EXE as my session shell.
Steven
--
----------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net> Warp/DIY/BlueLion etc.
www.scoug.com www.arcanoae.com www.warpcave.com
----------------------------------------------------------------------
|