Jump to content

  •  

- - - - -

Linux .sh script to windows script converter?


  • Please log in to reply
4 replies to this topic

#1 oofsector24

oofsector24

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 01 December 2018 - 11:37 PM

I have a .sh script that i need to run on a windows operating system, any suggestions on how to convert it?

#2 cold

cold

    Management Team

  • Community Management
  • 394 posts

Donator

Posted 01 December 2018 - 11:48 PM

View Postoofsector24, on 01 December 2018 - 11:37 PM, said:

I have a .sh script that i need to run on a windows operating system, any suggestions on how to convert it?

Here's a good start: https://stackoverflo...e-to-a-bat-file
Community Rules | IV Discord | News
discord: cold#0001
steam: /id/hitmarker

#3 DrWhat

DrWhat

    Member

  • Member
  • PipPip
  • 24 posts

Posted 17 December 2018 - 12:33 PM

If you have windows 10, you can install the Linux enviroment.
https://docs.microso...l/install-win10

#4 omegaw

omegaw

    Newbie

  • Member
  • Pip
  • 6 posts

Donator

Posted 29 January 2019 - 08:36 AM

Since windows uses a different syntax to run commands you will need to install a tool like cygwin to run that script, converting it to windows commands will definitely take more work.

#5 FurmigaHumana

FurmigaHumana

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 30 January 2019 - 04:21 AM

How complex is the script you are trying to run? I usualy use git bash (from https://gitforwindows.org/) to run simple scripts and seems to work fine. Wont do the job for more complex tasks tho.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users