Hi,
This is not a sql server question, per se, but everyone here is so helpful I figured it would be a good place to ask!
I have an extract that is named like:
myFile.txt.pgp.20070820
It's stupid because the timestamp is AFTER the .pgp extension. However, that is how it is and I can't change it.
The problem is, when I attempt to decrypt the file using my custom batch script, it just plain IGNORES the file if it doesn't end in .pgp. That is, it doesn't work. If I remove the timestamp portion, it's fine.
I don't know how to make my batch file work around this problem. So I figure I must work around the file name by changing it first!
Is there a way to rename this file using batch commands so that it becomes:
myFile20070825.txt.pgp???
I'm desperate for a solution here, as it's holdings things up for me.
Thanks much
This is not a sql server question, per se, but everyone here is so helpful I figured it would be a good place to ask!
I have an extract that is named like:
myFile.txt.pgp.20070820
It's stupid because the timestamp is AFTER the .pgp extension. However, that is how it is and I can't change it.
The problem is, when I attempt to decrypt the file using my custom batch script, it just plain IGNORES the file if it doesn't end in .pgp. That is, it doesn't work. If I remove the timestamp portion, it's fine.
I don't know how to make my batch file work around this problem. So I figure I must work around the file name by changing it first!
Is there a way to rename this file using batch commands so that it becomes:
myFile20070825.txt.pgp???
I'm desperate for a solution here, as it's holdings things up for me.
Thanks much