How Can I Programmatically Rename a File using TestStand? Primary Software: TestStandPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I would like to use TestStand to programmatically rename a file stored somewhere on disk. How can I do this? Solution: One simple solution is to call directly into the Windows command line and pass command line arguments that capitalize upon the rename function. This function takes as its parameters:
/c rename c:\\OriginalName.txt NewName.txt A sequence demonstrating this process has been attached below. Related Links: Attachments:
Report Date: 03/28/2008 Last Updated: 03/31/2008 Document ID: 4JRI1R6X |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
