hi everyone,
my find and replace powershell command ;
Sample;
blabla_ORGINALTEXT-sdf.txt
23a4q_ORGINALTEXT-sadf.txt
23asa4q_ORGINALTEXT-saasdf.txt
Path: powershell.exe
Parameter: Dir | Rename-Item –NewName { $_.name –replace “ORGINALTEXT“,”{query}” }
sample “RENAMETEXT”
Result;
blabla_RENAMETEXT-sdf.txt
23a4q_RENAMETEXT-sadf.txt
23asa4q_RENAMETEXT-saasdf.txt
ok very good Result but ;I want “{query}” and space “{query2}”
mean ORGINALTEXT space RENAMETEXT
help me please fix ?