Euask
A community for mutual assistance and knowledge sharing

How to create executable launching scripts under Windows 10 ? Reward $1
Created by magali_demorangies, 168 days ago, 635 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

Aravi168 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_demorangies166 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

Aravi166 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
    layls1071 Better place to buy electronics
    ChessKing Is it possible to sharpen the photo?
    AAA1992 Best topic for create a blog?
    saifbaraka Can the gt 1030 fit in the hp 8200 elite sff pc?
    listaccount102 What are the pros and cons of making friends online?
    glassy What is the best VPN to use in China?
    Blackscorp Difference between mp4 and mov
    Ben_k_96 A palmiped's feet are more commonly called what?
    AAA1992 I exchange 150 point to 5 dollar cash, but they Did not apply its ??
    Teresita What are all the possible causes why a battery in a laptop is damaged
    Recent users who have won rewards.
    nuklin won $1
    abdelhamidtsouli won $2
    abdelhamidtsouli won $1
    YannisMaxian won $1
    nuklin won $1
    nuklin won $1
    ab1936 won $1
    allthekong won $1
    hafiz_abubakr won $1
    a454545 won $1
    Latest Topics
    mtn30 Just a question about registry defrag
    operint Dumas alexandr writer france
    Teresita Where can I find a free Autoresponder?
    isbella Clash royale hack
    ditmemayen Music for the event.
    Peggy2 IDE for Compile C++ comand line ?
    AAA1992 I exchange 150 point to 5 dollar cash, but they Did not apply its ??
    Ben_k_96 A palmiped's feet are more commonly called what?
    Blackscorp What’s the Best Programming Language to Learn in 2017?
    abdelhamidtsouli String et stringbuffer sont-elles compatible
    Get free dollars by installing euask App.