i was wondering is there any way to give extension as ‘*’ like we do in selectors , means it accepts any extension it has , im making sure that the file name is same and dosent contains any duplicate file name with a diffrent file extension
example :- HelloWorld.txt & HelloWorld.xlsx
Copying Files:
Source: C:\Path\To\File\HelloWorl.*
Destination: C:\Path\To\NewLocation\HelloWorld.*
This will copy any file with the name “HelloWorld” and any extension from the source directory to the destination directory.
Moving Files:
Source: C:\Path\To\File\HelloWorld.*
Destination: C:\Path\To\NewLocation\HelloWorld.*
Renaming Files:
Source: C:\Path\To\File\HelloWorld.*
Destination: C:\Path\To\NewLocation\NewName.*
By using the *
wildcard character in the file name, you can effectively work with files that have various extensions as long as they share the same base name. Just make sure the base name (in this case, “HelloWorld”) is consistent across the files you want to manipulate.
HI,
We can achieve it using ForEachFileInFolder with filter, as the following.
Filter settings
"HelloWorld.*"
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.