Hi,
I have a bat file to execute testsuite.
START test.exe /reportfile:C:\AllReports\test_%Y%M.html
I get report file: test_M.html
How can I get date to filename?
*.bat and report name %Y
Re: *.bat and report name %Y
Hi,
You need to double % character, like this:
START test.exe /reportfile:C:\AllReports\test_%%Y%%M.html
It's a windows batch thing Hope this helps?
You need to double % character, like this:
START test.exe /reportfile:C:\AllReports\test_%%Y%%M.html
It's a windows batch thing Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: *.bat and report name %Y
Thank you for your help!
Re: *.bat and report name %Y
You are welcome!
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration