How to move files generated from other tools in jobsets?

I’m trying to use jobsets to fully automate my file generation for each project. At the BOM stage I generate a BOM using KiABOM which needs the XML of the schematic, so first I do,

kicad-cli sch export netlist --format kicadxml "${PROJECTNAME}.kicad_sch"

then I do,

kiabom "${PROJECTNAME}.xml" "${PROJECTNAME}.csv"

which does generate the correct files. How would I move these files to another folder like in an exports folder? I’ve tried these commands using the Execute Command jobset, and they don’t work,

mv "${JOBSET_OUTPUT_WORK_PATH}${PROJECTNAME.xml" exports

mv "${JOBSET_OUTPUT_WORK_PATH}${PROJECTNAME.xml" "${JOBSET_OUTPUT_WORK_PATH}/exports"

cmd /c move "${JOBSET_OUTPUT_WORK_PATH}${PROJECTNAME.xml" "${JOBSET_OUTPUT_WORK_PATH}/exports"

move "${JOBSET_OUTPUT_WORK_PATH}${PROJECTNAME.xml" "${JOBSET_OUTPUT_WORK_PATH}/exports"

I’m getting the (error 2: The system cannot find the file specified.) error. I’ve also tried using both Archive and Folder destinations to the exports directory and it still doesn’t work.

Any ideas? Any help is very much appreciated!

I believe some of the Jobset functionality has changed in in recent versions so you make it hard to help when you don’t give any version information . . .

Can you paste your full version info here please, you can get it from KiCad > Help > About KiCad > Copy Version Info

My bad, here’s the version info,

Application: KiCad x64 on x64

Version: 9.0.5, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 10.2.0
	FontConfig 2.15.0
	libcurl/8.13.0-DEV Schannel zlib/1.3.1

Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: ATI Technologies Inc., AMD Radeon(TM) Graphics, 4.6.0 Compatibility Profile Context 24.12.1.241127

Build Info:
	Date: Oct  2 2025 13:29:53
	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.88.0
	OCC: 7.9.1
	Curl: 8.13.0-DEV
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

Should I update to v9.0.6?

1 Like

Probably, there have been some snapping bugs fixed (amongst others), any projects worked on in 9.x.y will open in 9.0.6 and visa versa.

Do you know if any of the commands will work or are you saying it may help?

Edit: Updating doesn’t seem to fix anything

I didn’t know that it would or wouldn’t . . . but updating has certainly fixed some bugs.

This may be of some help: What commands can you run in a job Special: Execute Command - #3 by eelik

Thanks for trying to help! This is the command that solved it for me,

cmd.exe /c move "${PROJECTNAME}.xml" "exports\" && cmd.exe /c move "${PROJECTNAME}.csv" "exports\"
2 Likes