I am creating Dicom Dir and I am working DCMMKDIR exe. I have my inputfiles in C:\DICOMFiles, DCMMKDIR is in C:\DicomEXE and I want Output to be in C:\DICOMCDDIR
could you please guide me what I should give arguments to DCMMKDIR.
Which dcmmkdir are you using? If it is the one from dcmtk all options can be seen here: http://support.dcmtk.org/docs/dcmmkdir.html
I would use:
dcmmkdir --input-directory
c:/my_input/images/ --output-file
c:/DICOMDIR
Related
I have a command line code as follows -
for /r %%v in (*.max) do start %%v
It opens any Max file in the same folder - great.
I want it to also tell max to run any number of scripts when the file has opened, there are guides on how to do this on the 3dsMax help for eg:
-U MAXScript = (this will open MAXScript and run a certain script on the end of a fresh 3dsmax command load.
However this does not work on the end of the initial code I need to use.
I have been researching how this could work for 2 days but keep going in circles.
Please help.
Adam
try for /r %%v in (*.max) do START cmd.exe /C %%v
You might want to take a look at using 3dsmaxbatch.exe instead of 3dsmax.exe
Here is a link to the 2019 documentation:
https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/3DSMax-Batch/files/GUID-48A78515-C24B-4E46-AC5F-884FBCF40D59-htm.html
The command line to load a max file then execute a script should look like this
3dsmaxbatch.exe -sceneFile C:/some/path/to/maxfile.max C:/some/path/to/script.ms
I'm looking for a way to specify the output path of the generated .coverage file. I've checked coverage help and did some research but still no luck so far. The reason is that I would like it to be specified into our tmp directory.
You can create a .coveragerc and specify the path for .coverage using the data_file attribute under the [run] section.
This is the link to the current documentation.
You can use the [run] data_file setting (https://coverage.readthedocs.io/en/latest/config.html#run), or the COVERAGE_FILE environment variable (https://coverage.readthedocs.io/en/latest/cmd.html#data-file).
I am working on generating a compiled help file (CHM) for using a C#-based API from IronPython.
In the output I have the type "Ironpython.Runtime.List" which won't make any sense to the Python users. I would like to change this to "PythonList" or something else.
Is there a simple way to do this?
Note - I am using doxygen 1.8.14 on Windows. Thanks!
Hmmm... well I solved it with the following batch file.
set hhc=C:\Program Files (x86)\HTML Help Workshop\hhc.exe
doxygen "%cd%\Doxyfile.cfg"
"%cd%\fnr.exe" --cl --find "IronPython.Runtime.List" --replace "List []" --dir "%cd%\html" --fileMask "*.html" --includeSubDirectories
"%hhc%" "%cd%\html\index.hhp"
fnr.exe is available from: http://http://findandreplace.io
I have many folder like data_1,data_2, data_3 etc, that will be generated during program running. I want to copy these folders into .tar file named full_data.tar in a specified folder.
How can I insert folders named data_1,data_2, data_3 etc into full_data.tar in MATLAB by using UNIX commands?
As #kedarps already proposed I would also use the command line. The matlab command to execute command line arguments is:
status = system(command)
It is documented under this link:
system documentation
So if I take the unixcommand from #kedarps this should work:
system('tar -cvf full_tar.tar data_1 data_2 data_3')
I hope this helps
We can launch PMD on CMD with this command
pmd.bat c:\path\to\my\src xml c:\path\to\mycustomrules.xml
Where is it generating the reports???
I mean in which location?
I found it...
simply type on CMD
pmd.bat c:\path\to\my\src xml c:\path\to\mycustomrules.xml > myfile.txt
You can use reportfile argument for this.
Example is
pmd SourcePath html basic -reportfile C:\PMDReports\PMDoutput.html
OR
pmd SourcePath html basic -reportfile PMDoutput.html
Incase 2 PMDoutput.html is found in current directory.