galvatec 0 Posted July 26, 2019 Is there another way to check the path of an executable? Share this post Link to post Share on other sites
Jos 2,277 Posted July 26, 2019 2 minutes ago, galvatec said: But this is the way that is in the code : C:\Program Files (x86)\iVMS-4200 Station\iVMS-4200\iVMS-4200 Client\iVMS-4200.exe The last post clearly shows the path is still wrong! I can't be that hard to copy the proper path from the explorer window into the script! Also that last shown runas() statement is NOT the one I proposed as it is lacking the WorkDir parameter. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
TheXman 440 Posted July 27, 2019 (edited) 20 hours ago, galvatec said: Is there another way to check the path of an executable? In the Windows File Explorer, if you hold the SHIFT key down and RIGHT+CLICK a file, you should see an option to "Copy as path". This copies the complete path of the file to the clipboard (wrapped in double quotes) so that it can be pasted elsewhere. That's a foolproof way to make sure that the path is correct. Edited July 27, 2019 by TheXman About TheXman | CryptoNG UDF - Cryptography API: Next Gen | HttpApi UDF - HTTP Server API | jq UDF - Powerful and Flexible JSON Processor If you want better answers, learn how to ask better questions or read How to Ask Questions in a Technical Forum. Share this post Link to post Share on other sites