|How to specify file paths in external commands? [message #1030454]
||Sun, 31 March 2013 06:39
| Denis Aristov
Registered: March 2013
I use Jubula on Windows 7.|
I created a test step with the following parameter values:
Component type: 'Application'
Action type: 'Execute External Command'
Command [String]: 'echo test > "C:\temp\ab\test.txt"'
The file test.txt was created in the folder C:\temp\ab
Then I renamed this folder to "C:\temp\a b" and changed the command value accordingly:
Command [String]: 'echo test > "C:\temp\a b\test.txt"'
The file wasn't created.
Don't I escape anything right? The command is surrounded with single quotas so that all special characters shouldn't cause any problems...
Powered by FUDForum
. Page generated in 0.02255 seconds