Uplaod arduino code in STM32F103c8 using usb

I have error here when i tired to compile code using platform io
how i can compile & upload arduino code to stm32f103c8 ?

PS U:\EMBS1\shehabhassan\BioTrap_Project\2 Layer_Board\Counter_STM32> pio run
Processing genericSTM32F103CB (platform: ststm32; board: genericSTM32F103CB; framework: arduino)
---------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103CB.html
PLATFORM: ST STM32 (17.6.0) > STM32F103CB (20k RAM. 128k Flash)
HARDWARE: STM32F103CBT6 72MHz, 20KB RAM, 128KB Flash
DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink)
PACKAGES:
 - framework-arduinoststm32-maple @ 3.10000.201129 (1.0.0)
 - tool-dfuutil @ 1.11.0
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 32 compatible libraries
Scanning dependencies...
Dependency Graph
|-- RTClib @ 2.1.4
|-- Wire @ 1.0
Building in release mode
Compiling .pio\build\genericSTM32F103CB\FrameworkArduinoVariant\board.cpp.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\boards.cpp.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\boards_setup.cpp.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\start.S.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\start_c.c.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\syscalls.c.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduino\HardwareSerial.cpp.o
Compiling .pio\build\genericSTM32F103CB\FrameworkArduino\HardwareTimer.cpp.o
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
Compiling .pio\build\genericSTM32F103CB\FrameworkArduino\IPAddress.cpp.o
*** [.pio\build\genericSTM32F103CB\FrameworkArduinoVariant\board.cpp.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\boards.cpp.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\boards_setup.cpp.o] Error 127    
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\start.S.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\start_c.c.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduinoVariant\wirish\syscalls.c.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduino\HardwareSerial.cpp.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduino\HardwareTimer.cpp.o] Error 127
unknown OSError exception code 22 - 'C:\Windows\System32\cmd.exe': Invalid argument
*** [.pio\build\genericSTM32F103CB\FrameworkArduino\IPAddress.cpp.o] Error 127
=================================== [FAILED] Took 6.19 seconds =================================== 

and i am uploading using usb without using ttl uart .

Note : i have uploded the arduino bootloader in stm32f103c8

Is this is a shared network drive? PlatformIO / cmd.exe might not like this at all. I’ve never seen these sort of

errors before. Try moving the project to the local harddrive.

Yes this is shered drive, then you mean to relocate the project file to another path and compile it agian