TOUCH (V13.04.55)


the following command
touch ..\out\plg_cbmdebug\*.* /s /D2013-02-11 /T19:14:41
should touch all files in the specified directory and its subdirectories, or have I misunderstood the doc?
I found that after executing this, the files in the directory were touched - but not those in subdirs and the subdirectories themselves were also not touched...:(

Thanks for any suggestions :)
May 20, 2008
Elkridge, MD, USA
TOUCH is a bit more sensitive to the order of its parameters than many other commands. OPTION parameters should always precede the FILE paramters thus:
touch /s /D2013-02-11 /T19:14:41 ..\out\plg_cbmdebug\*.*

Changing the parameter order may solve your problem, I did not test it...

BTW, a free upgrade to build 63 (13.04.63) is available!

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
You need to put your options before the filenames:

touch /s /D2013-02-11 /t:19:14:41 ..\out\plg_cbmdebug\*

If you really want to touch directories as well as files, add /A: as well.
Thread starter Similar threads Forum Replies Date
V Support 2
Dick Johnson Support 10
Dick Johnson Support 0
fpefpe Support 1
fpefpe Support 6