Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mumax3-convert fail when use *.ovf #81

Closed
gen-xu opened this issue Oct 28, 2016 · 3 comments
Closed

mumax3-convert fail when use *.ovf #81

gen-xu opened this issue Oct 28, 2016 · 3 comments

Comments

@gen-xu
Copy link

gen-xu commented Oct 28, 2016

When I type such command
mumax3-convert -png *.ovf
it shows
[fail] .ovf -> .png: GetFileAttributesEx .ovf: The system cannot find the file specified. 0 files converted, 0 skipped, 1 failed
while there are ovf files in same directory, and if I specify the file name like this way
mumax3-convert -png m000001.ovf
it will work.

OS: Windows 10.0.14393.0

@kkingstoun
Copy link
Contributor

Windows PowerShell or CMD doesn't understand *. You have to write a script with for loop or do it manually.

@JeroenMulkers
Copy link
Collaborator

kkingstoun is right. Unlike unix shells, the cmd interpreter of Windows does not expand wildcards such as *.

However, I modified the code of mumax3-convert in such a way that it can handle wildcards by itself. See pull request #82

@godsic
Copy link
Contributor

godsic commented Oct 28, 2016

merged #82

@godsic godsic closed this as completed Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants