I'm trying to rename .wld files to .jpw after an image has been processed but the following dos command is not working. Any idea?
I'm trying to rename .wld files to .jpw after an image has been processed but the following dos command is not working. Any idea?
Have you tried ren "$(output_folder)" *.wld *.jgw?
Also, check if the command works all right outside FME.
There should be a \ between the last part of the output folder and the *.wld, so this should work:
ren $(output_folder)\*.wld *.jgw
Also, if there's spaces in the pathname, you might need to wrap that parameter and the \*.wld in " marks
Looks like there is a space between the output folder and the file name. That should be one continuous path without spaces. If the path contains spaces, use quotes as mentioned by @oscard
ren "$(output_folder)\*.wld" *.jgw
Fixed it with the above. You've all been helpful, thanks!
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.