Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

.bat on windows to start ubuntu then type some command

$
0
0

I have try so many way and search so much yet still not find answer.

I can just start ubuntu but If I add /k cd "path" It will disappear like something wrong

I was just trying to set an automation one click to

  • open ubuntu
  • cd to path
  • activate
  • cargo run
  • ubuntu running cargo window still open

but It seem like it doesn't react like usaul knowledge I have. I don't understand.

ofc This thread is really close but I have try it, It doesn't work.Open Ubuntu terminal using batch file on windows with command?


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>