Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TOUCH (V13.04.55)

Feb
61
1
Hi,

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 :)
 
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!
 
You need to put your options before the filenames:

Code:
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.
 

Similar threads

Replies
6
Views
3K
Replies
2
Views
2K
Back
Top