![]() ![]() If you want to skip and use Internet Explorer, do this: start iexplore.exe In another way you can also do this: start C:\path\to\browser.exe But, if you want to use Chrome for example do this: start C:\Program Files\Google\Chrome\Application\chrome.exe And if you want to use the same way for your code do this: if %X% EQU 28 start iexplore. Search up a tutorial on how to setup enviromental variables based on your Windows you need to set this to enviroment variables: ![]() You can do it like this: start browser.exe But. Please try the following: if %X% EQU 28 start "mytitle" "" Note that quotes are required if the command includes any of the following special characters & \ ^ | so it a good idea to always quoted the command. You don't have a title parameter (which is required).You have a spelling mistake, srart should be start,.Fully-featured for privacy, security, and so much more. There are three things I can see that might cause problems with the above code: Your personal browser Faster, safer and smarter than default browsers. "I think I have a mistake with my code:" if %X% EQU 28 srart command should be quoted with " characters.parameters The parameters passed to the command.command The command, batch file or executable program to run.title Text for the CMD window title bar (required.). ![]() Reference Start a program, command or batch script (opens in a new window.): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |