Simple(?) File rename

(imported topic written by olsonc5891)

I need to do a simple file rename. If I remember correctly, I can’t use the “rename” command in Bigfix. Not sure why. The following is succesful from the command line but fails as a task deployment:

runhidden rename “C:\Inetpub\wwwroot\iisstart.htm” “iisstart.bak”

I don’t need to replace this file, simply rename it. What is the best way to automate this?

Thanks,

Chris

(imported comment written by NoahSalzman)

Copy it and delete the original?

(imported comment written by olsonc5891)

Noah,

That’s it. Thanks for the reminder.

Chris

copy “C:\Inetpub\wwwroot\iisstart.htm” “C:\Inetpub\wwwroot\iisstart.bak”

delete “C:\Inetpub\wwwroot\iisstart.htm”