Jump to content
UBot Underground

How To Run A (Imagemagick) Shell Command?

Recommended Posts

Hi there. I seem to have come to a bit of a snag...


I have a directory S:\OneDrive\Documents\Websites\xxx


In this directory there is a file called convert.exe (imagemagick) that I want to run


The command is

convert.exe slika.jpg -extent 1200x1200 slikaCROP.jpg

If I run this in cmd, it works.


But if I run it in ubot studio, it doesn't

shell("S:\\OneDrive\\Documents\\Websites\\testnastran.dev.cc\\convert.exe slika.jpg -extent 1200x1200 slikaCROP.jpg")

Please help!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...