What commands can you run in a job Special: Execute Command

On Windows, what commands can you run in a job Special: Execute Command? I am trying to rename a file and cannot do it, my efforts failing with “error 2: The system cannot find the file specified.” Neither mv nor rename work. In an effort to get anything at all to run, I’ve also tried pwd, ls and dir and those fail, too. However, tar and python do work. What should I expect to work?

It is probably best if you supply a bit more information if you want an answer.
Open Kicad, go to Help > About Kicad and in the top RH corner click “Copy Version Info” and paste into a forum post. Also mention what sort of file you wish to rename.

Those aren’t independent programs which could be started, they’re part of the cmd shell. IIRC you can use something like cmd /c <command> or whatever, read the help for cmd to find out. I can even use any unix command because I have Ubuntu on WSL installed! bash -c <command> works.

In 9.0.1, schematic and pcb exports always get the project name as the file name (I see an issue has already been opened about this), so if I want a PDF of the schematic and a PDF of the pcb, I have to rename the file.

Version information:
Application: KiCad x64 on x64

Version: 9.0.1, release build

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

Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics 770, 4.6.0 - Build 32.0.101.6129

Build Info:
Date: Mar 30 2025 01:11:30
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.11.1-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON

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