Euask
A community for mutual assistance and knowledge sharing

How to create executable launching scripts under Windows 10 ? Reward $1
Created by magali_demorangies, 283 days ago, 824 views

I am a Linux advanced user, and under Mageia Linux I often write little script files to create my own launchers (for particular application's configuration, or to open directly any URI in the special session of an application, etc.) and place them in my menu. I wish to do the same under Windows... But how ?
I tried already to create at least a shortcut with command options using the common "New" > "Shortcut" tool, but Windows refuses to create it if I add any part more than just the basic path of the program (a message-box is pretending that "the URL doesn't exist" when any "- [OPTIONFLAG]" is added). Then I tried making the shortcut basically, and after its creation, asking for the "Properties" of the shortcut file, to add to the "Target" line my command options... But another message-box appears and blocks my attempt of changes on the command (for the same reason, the URL is not recognized if any option is added) !
I know that those special command lines target are existing by the way, as many programs use them, like for example "Google Earth (OpenGL mode)" with its ""C:\thingy\googleearth.exe" -setOGL" target address, and all my Steam games with their "steam://something" URL, etc.
As those files are created by the installation program, I wonder if any application exists that could help me write and create my own command / shortcut / executable files, to be able to place them at least in my desktop folder, and for the best in the menu repertory to make them appear in my menu.
If any person could give me the name of such a program (as long as it's an OpenSource one, or at least free or costing less than 10 Euros, for me to be able to get it !), it would be a great help... Thanks for any answer !
Facebook Twitter Google+ Addthis

√ Best Answer

1

Aravi283 days ago

Hi @magali_demorangies

For executable launching scripts, you can create .bat file:-

https://www.tutorialspoint.com/batch_script/


.bat file are considered to be security treat in windows os. Because, hacker can explore the venerability or .bat files execute harmful code. Hence, it will be blocked by your firewall and antivirus software automatical.

You need to add them to exclution list as per your antivirus and firewall software setting. Their are loot of antivirus softwares in windows, so I can't help without knowing your antivirus software name. Kindly google search for path in user interface of your exclution list.

Regards,

  • downvote

2

magali_demorangies281 days ago

Thank you for your answer, it's already a great help for me to know now how the Windows scripts are named and to be able to learn their syntax. I know already how to put files on my exclusion list, as I already created a few dll as personal icons storage, and I immediately saw that every AV target them as infected programs ( x'D )... Thanks a lot again.

  • downvote

3

Aravi280 days ago

Hi @magali_demorangies

You are most welcom and thanks for selecting my answer as the best answer.

Regards,

  • downvote
    You have to sign in to answer a question, sign up if you don't have an account.


    Hot Topics
    TrevorKith What are your hobbies?
    chamine How to wipe/erase hard drive from CMD prompt?
    grems What are some good templates for architects you can recommend me?
    Christian_Coutu Google search issue
    hphillpotts Windows 10 update screwed my computer
    grems Cheap gift ideas?
    nathanq Have your say on net neutrality.
    Casetes Do you date in the Internet?
    Casetes Do you use some corporate gifts?
    TrevorKith Where do sugar daddies meet their sugar babies?
    Recent users who have won rewards.
    ahmed58 won $1
    chakramed won $1
    ha14 won $5
    chakramed won $1
    ha14 won $1
    chakramed won $1
    chakramed won $1
    MAKEROFMONY2 won $1
    yanka457 won $1
    MAKEROFMONY2 won $1
    Latest Topics
    jordianz Walk me through how you might derive the black-scholes formula by using a real options approach
    TrevorKith Where do sugar daddies meet their sugar babies?
    grems Are sugar baby relationships that gross?
    Casetes Do you date in the Internet?
    nathanq Have your say on net neutrality.
    Praeses Programm-Übertragung
    Casetes Do you use some corporate gifts?
    TrevorKith What are your hobbies?
    grems Cheap gift ideas?
    chamine What are some of the coolest computer tricks with which you can amaze your friends?
    Get free dollars by installing euask App.