I'm having a little and y hope so simple trouble.
I need to find with dir and findstr files with .aes extension.
The problem is that when I put this in a for loop the script not find my files in my system partition (c: in this case)...
When I put in the console
Code: Select all
for /f %x in ('dir /b /s c: ^| findstr /e ".aes"') do echo %x
Obviusly that I use double % for x, but nothing...
The same script with d: works perfect!
It's more strange.
Any sugestion...
Thanks.