Batch file create shortcut. com/nwu2/kit-dls-19-real-madrid-2018.

Contribute to the Help Center

Submit translations, corrections, and suggestions on GitHub, or reach out on our Community forums.

bat when you press Ctrl + X. will launch C:\MyScript. Jan 27, 2017 · I tried it and created the bat but no desktop shortcut is created. exe) Jan 2, 2018 · Make a shortcut to runas. Apr 30, 2012 · 15. Right Click on the new shortcut and change the Start in: field to %V. Apr 9, 2018 · As a result, my primary solution will only be applicable to Windows users: Right-click the script and select create a shortcut. where it refers to your script. On the general tab, give your scheduled task a name. Step 4 Nov 13, 2016 · 1. Click on the Run drop-down box and select Minimized. We will cover two distinct methods we use to make a Batch script create a shortcut in our Windows Startup folder. exe /c : cmd. BAT) file or . Type the following command to run a Windows 11 batch file and press Enter : C:\PATH create a shortcut from your batch file and right click on shortcut > Properties > Shortcut Tab > Advanced now check the Run as administrator check-box. I create a shortcut for this purposes as shown below: In order for the user to be allowed to drag the shortcut to a batch file to the taskbar (Windows 10) I have to modify the shortcut path from E:\Soft\MyProgram\start. Here is my specific line: xcopy “\servername\folder_1\folder_2\folder 3\shortcut. In this example there's an invisible third character SUB, (0x1A), which should copy fine, but is worth mentioning regardless. ; Run batch files Nov 7, 2014 · 1. Save. exe -r -t 00. Feb 20, 2012 · While I can understand the confusion, the question is about creating the "shortcut file" or "link file" (extension . TargetPath = myFileName . Mar 16, 2012 · Create A Shortcut That Opens The Command Prompt & Runs A Command: Yes! You can create a shortcut to cmd. When done, you can use Alt+F4 to close the program from the keyboard. Set Shortcut = Nothing. You might also want to give us the entire script and the full path of the file you wish to delete. For example, you might want to name it hello_world. lnk usually) oLink. Right click on your /bat/ folder and click Create Shortcut. exe in this case), send a command to it and then send an Up Arrow key, that cause to recover the last executed command. exe /C "path-to-your-batch". edited May 12, 2016 at 15:05. Copy it, save it as shortcuts. – pajevic. bat: Apr 17, 2012 · mediainfo. Create a shortcut on your desktop, and point it towards the bat file. From the Run command ( + R) or via a batch file; wscript. set "shortcutname=script. EXE" "C:\Users\lmffwp\Downloads\MyDatabase. Are you wanting to do this on a single, local workstation or do you want to push this shortcut to all workstations in Jul 23, 2021 · I'm trying to create a script that will create shortcuts of the target batch files and set the icon to a . bat and double click to execute it. Aug 20, 2011 · 2. For example, Run, C:\MyScript. Description = "Shortcut to the file" . I’ve displayed all the options using simple echo commands. Mar 8, 2021 · How to programmatically create a desktop shortcut link via Powershell or batch file command after installing *. Then edit that to have the parameter behind the file name in the shortcut, it might pass them trough. On the batch file, point it to run the UWP app shortcut from the Desktop. lnk". IconIndex=0. From the context menu that appears, click on New and then on Shortcut options. bat file saved where you want on the computer. Jan 1, 2012 · 2) Double click the the vbs. Right-click on the shortcut you created and click on properties. It should now be pinnable. So this script shows you how to create a shortcut on the desktop to the calculator. Hope this help. cmd /c "C:\Users\winaero\Desktop\test. lnk file) to a folder (by right clicking > New > Shortcut in Windows Explorer or on your desktop) then drop that shortcut somewhere in your path. vbs my_batch_file. Share. I want to be able to automate this so that it can be setup on everyone's computer through group policy, or by the user just running a script. Checkk your subdirectories (like Bureaublad). exe "toggleicon. I present a small hybrid script [BAT/VBS] to create a desktop shortcut. Jul 17, 2012 · but in the Properties->Compatibility tab of the shortcut, run as administrator may be disabled. exe with a command specified after it. Then, choose "Command Prompt" from the search results. Then run either of the two commands (depending on the requirement define above) From a Console Window ( cmd. Mar 13, 2021 · To open several sites at once in your browser, you need to create a shortcut file for these sites on your PC. Choose Properties. Be sure to add a space before your addition. exe Vbscripts functions to create shortcuts (i can't find one vbs only for check the target) But i can't find a method to use someone for give me info about the target of a shortcut. Name the shortcut and change its icon if you need: Oct 24, 2010 · Click Create task, you will see this form, with five tabs. STEP 2. bat on the desktop for easy access. First of all create a shortcut of the batch (. Double clicking on it will work just as a shortcut and run the program. Now right-click your new shortcut file, select Properties, and update the Target field to point to your batch file. EXE. Oct 19, 2015 · Dim sShortcutLocation As String sShortcutLocation = "C:\blah\workbook shortcut. I am trying to create a temporary VBScript using Batch, the output I get is: Apr 3, 2014 · The original question was tagged autohotkey. bat file to be able to write this line into the "Target" of the Shortcut. Right-click your batch file shortcut and select the context menu’s Properties option. bat to run my program. This is a batch script file that makes it possible to open multiple URLs in a single click. Here @path is the full path of the file. 3) Use option 9 here to set the shortcut to always "Run as administrator". You might want to look at these Stack Overflow topics for further inspiration: Creating a shortcut for a exe using a batch file creating a shortcut for a exe from a batch file May 16, 2023 · To run a batch file always as an administrator on Windows 11, use these steps: Open File Explorer. bat extension. In my example, it will be. After that, You can execute the shortcut. 0. ico or . I need the . You can, indeed, use a batch file to run a autohotkey script. png. Select Paste Shortcut. Type in or copy paste. Right click on the shortcut you just created and click Properties. Command Batch Files. Find Target: field, select the text in the textbox, and copy it. appxbundle Currently the *. Internet Shortcuts. I have not been able to find and answer this. Since it appears that you're using Vista/7, if UAC is enabled you'll need to right click the batch script and run as Administrator. py -o \path\to\output. It will create a Desktop shortcut. Sep 1, 2017 · 0. For some reason I can't find out how to launch a shortcut from a batch file. /H:hotkey : Defines the hotkey, a numeric value of the keyboard shortcut. ahk". The only things that need to be changed for your applications are: sLinkFile=Name of your shortcut (application_Name. I need to change the properties of the path to allow it to run in no-graphics mode. Please add more detail to your question if we're missing the boat here Dec 19, 2017 · I often find myself opening an SSH session to run the same single command. You can change directories in Command Prompt using the cd command and switch to the directory where you want to make folders. bat: @echo off FOR %%V IN ("%~dp0. @echo off. Here is the Start Menu section of my NSIS installer: # CREATE SHORTCUTS !insertmacro MUI_STARTMENU_WRITE_BEGIN MySoftware # Create shortcut. Put the following into a batch file somewhere, say C:\batch Oct 18, 2013 · Shortcuts cannot be created directly in batch files. echo IconIndex=0 >> Explorer. On Windows 7 you will get bat - Shortcut in the current directory. vbs file and instantly it creates a shortcut file in the desktop tested in Windows XP works. "c:\program files (x86)\autohotkey\autohotkey. Jan 19, 2016 · I have been trying to create a shortcut to launch a batch file one folder up from the shortcut location. My problem is that I would like to create the shortcut with this command via CMake and NSIS. Dec 10, 2020 · spiceuser-2f7m9 (Laird Spicehead) December 10, 2020, 9:08pm 2. The problem is, that it somehow can't be saved. In the Shortcut tab, you will be able to append arguments to the Target path. Oct 21, 2016 · To do this manually you click chrome options -> More Tools -> Add to Desktop You then need to click open as window and Add, and chrome will save the app to the desktop, and it will open in fullscreen. Click Next, and then for the name of the shortcut type Shut downor Restartand click Finish. May 13, 2020 · So create a shortcut to the script somewhere. accdb". The Batch file is simple enough to be understand with no problems, so you may modify it to fit your needs. On the Triggers tab, click new, then Begin the task "At log on", any user (or at Startup if that is what you want) On the Actions tab, click new, then "Start a program", and browse to your bat file. Double-click it to run it. You can create this file Mar 4, 2016 · And now, since your bat file is no longer the target but is now an argument, you can make that relative all day long. appxbundle installs into the StartMenu, which is fine, but I'd also like to include a shortcut link on the destkop. General. edited May 23, 2017 at 12:33. Feb 9, 2010 · Creating a shortcut in the . Apr 12, 2018 · Create the following batch file: Now create a shortcut to that batch file. SendKeys "^%{TAB}" Save the file with . You can see the options displayed as a list on the command prompt as shown below. How to create a shortcut by using windows command line. URL) files are simple text files that you can create with a text editor or a couple of ECHO statements: May 6, 2023 · Write this code in a text file, rename it to [someFilename]. Sep 17, 2010 · 1. CreateShortcut(sShortcutLocation) . Give it any name you like, but replace the default . You don't have to write a batch file. lnk file you wanted. PD: I agree too a solution from 3rd party apps :) Sep 12, 2012 · 3. If not, I need to create it. In the Shortcut tab, click Advanced. This creates the . Since start is an internal command, we have to call it in a new shell ( cmd /C Feb 2, 2024 · This article discusses various methods to create a shortcut for a Batch file on Windows. Just create a shortcut on your own desktop then cut and paste it into C:\Users\Public\Desktop. Jul 20, 2015 · When I run it from the Command window I get the following output: C:\>del "C:\Users\NobleK\Desktop\test. Feb 19, 2021 · We have the batch program, folders will be created while execute the batch program, exe and INI files are copied into the folder. To replace shortcut with command line file (cmd or bat) - create . @echo Set oWS = WScript. vbs and place it on the desktop. TargetPath= Path of your root application (c:\program files\program\program. Next, place the cursor inside the Shortcut key box. Create many shortcuts (. url. exe nircmd. Basically, XXMKLINK is a tool that gathers various information from a command line and packages it into a shortcut. 2) Create a shortcut of the . With NirCmd, here is the command to Apr 3, 2017 · Here, we will create a notepad shortcut (notepad. lnk format is basically impossible from a batch file without calling an external program of some kind. exe with the arguments /user:"AdminUser" "C:\MyBatchFile. Shortcut. Jun 3, 2024 · Run it from within the command prompt. Exit. EDIT / added later after discussion in comments. bat or . I've got all of that working thus far except the start menu shortcut. Then application will run. I've googled like crazy, but could not find a solution to this problem. bat file always "Run as administrator", you could do this below. Normally, we'd use the command start "" "Remote Agent 1234. Basically, you create a file, add all your sites to this file, and run the file when you want to launch your sites. Creating a . To expand on @ckhan 's answer, You can write an AutoHotkey script that uses hotkeys and the Run command. Double-clicking it would show the Alt+Tab window (and the Alt Tab switcher screen remains until you select a program, or dismiss it. For each subfolder inside A I need to check if B contains a link to that subfolder. You will get a UAC prompt though. vbs". Steps: Right click on some empty space in Explorer, and in the context menu go to "New/Shortcut". For example, let us call it C:\CreatedFolder. exe shortcut shortcut. lnk) files. Right click in window folder where you want the link select New -> Shortcut, then specify where the . 4. every time you execute it from the shortcut you just have one click to accept run it with admin privilege. then right-click the shortcut, and given it points to an executable, you can now pin that to the task bar. return. (. Then on empty space in same folder right click again and click past shortcut. cmd file like this: "C:\Some Location\Some application. Create a shortcut to your bat file by using the right-click and selecting Create shortcut . If you need administrator's privileges, you may create a wrapper script like this: runas /user:Administrator your_original_script. Dec 15, 2013 · The idea is that users can drop this bat file into their game directory and have it set up a working shortcut. CMD file. then save it as VS08P. bat . Click the New menu and select the Shortcut option. My problem is that it seems I cannot Jan 19, 2012 · Using a shortcut or batch file to move file to a relative location. Forfiles goes through all files in the path specified in /P that match the mask specified on /M and executes the command specified in /C. Just don't forget that you made this hidden shortcut; or you'll Mar 19, 2011 · 2. vbs extension, such as alttab. lnk) of a shortcut itself. Go to Control Panel \ System and Security \ Administrative Tools. exe /c "C:\temp\myscript. It’ll create a new shortcut of the batch file. Finally, if the same key needs to both launch and close it, you can use the shortcut method above with a batch file. Here is Oct 1, 2012 · Make a copy of the shortcut to your non-standard browser. Jul 27, 2021 · Right-click the desktop and select New > Shortcut. Just create a shortcut of taskkill. ) To send WinKey, you need NirCmd or any other program like AHK. shutdown. Unlike file/folder shortcuts, Internet Explorer Favourite (. Please, help. bat. Then you can set the shortcut to run as administrator: Right click the shortcut. Set ShorcutName=HackooTest. lnk) of existing files and add target arguments to all shortcuts Hey All: I am making a batch script for deploying a program via SCCM. txt file extension with the . Rename the shortcut to your desired name if you want. bat" Aug 19, 2008 · If you want an icon for a batch file, first create a link for the batch file as follows. Right click shortcut and choose properties. In other words: check for existence of exe file, create shortcut on desktop with start in path = base game and target path = mod exe – May 13, 2021 · Click the Windows Start button from the taskbar and type "cmd" in the Windows Search bar to open Command Prompt. If you want to create a shortcut from a batch file, you have several options, see creating a shortcut for a exe from a batch file. start . Community Bot. You now have a batch file with the . exe" argument1 argument2 Apr 26, 2016 · Rename the file with a . bat - shortcut" then go to ->Properties->Shortcut tab -> Advanced and there you can click Run as administrator. bat and select Send To - Desktop (create shortcut) Right click on the shortcut on the desktop and show its Properties. Right-click on the batch file and select “ Create shortcut ” option. STEP 1 – Right click on an empty space anywhere on your Desktop screen. Make sure to change the Properties of the shortcut as Start minimized. bat and put it somewhere in your path. \") May 11, 2015 · I present a small hybrid script [BAT/VBS] to create a desktop shortcut. exe -NoProfile Aug 22, 2021 · How about if you copy shortcut the BTCOM executable. save as something like restart. – Ken White Commented Mar 2, 2014 at 4:41 The Batch file below is an example that start another program (cmd. answered Jan 17, 2015 at 10:28. vbs extension, based on your question I'd suggest toggleicon. lnk extension is just a shortcut to a file. I have link file for one of the exe. Jun 21, 2016 · Right click on the Desktop and select the command "New -> Shortcut" from the context menu. patrickdeno2 (GhillieHammer) December 10, 2020, 9:15pm 3. I'm currently creating the links using the code found on this page: Creating a file shortcut (. Everything seems to work up until launching the shortcut which does nothing. cmd" where AdminUser is the username of the user you want to run the file as, and MyBatchFile. You need to give the location of the item in the window that follows. Now right-click on the shortcut and select Properties option. Title Shortcut Creator for your batch and applications files by Hackoo. mode con cols=87 lines=5 & color 9B. cmd is the name of the file. bat, and save the file on the desktop: @echo off set /p x= mkdir %x% Double-click it, and you will be prompted for input. Trying to run a batch Sep 6, 2021 · I use a batch script start. Shell"). On Windows XP you will get Shortcut to bat. bat and point the shortcut to it instead. Apr 28, 2020 · If you put @echo off at the beginning of your batch file, you don't Execute powershell script to create Shortcut on User Desktop Powershell. Create a shortcut to your batch file. Sep 21, 2012 · Your description doesn't give enough information about the problem you're trying to solve, but if it really is simply what you say, you could also just create the shortcut once, by hand, and then use a batch file to copy that shortcut to wherever you wanted it. IconFile=C:\WINDOWS\EXPLORER. And you can of course modify it to your purpose. bat file is. I have everything setup to login without entering a password (Via SSH Key-Based Auth), so I wondered if there was a way to create a shortcut or a batch file in Windows that would load PuTTY or a similar program, then fire off that command (and likely exit if result is good). To launch the executable that the shortcut targets to, just write the shortcut filename in the same way as you will do to run a executable file, as follows: @Echo OFF. lnk) and move it to the user pinned folder. Find the Target -field on the Shortcut tab and just put the url you want to visit at the end of what's already there. Either use a 3rd party tool, or use Windows scripting host. May 26, 2023 · Open Start. exe on desktop and modify the shortcut to have the arguments you use on "Target" field. Set MyFile=%~f0. Dec 5, 2013 · I'm trying to make a batch file that will move my java program into a folder, create a desktop shortcut and then create a shortcut in the start menu. You may want to run a specific query on a specific project with the UI in a particular language. url to be created with this content inside of it: [InternetShortcut] URL=C:\WINDOWS\EXPLORER. Part of this script will make a folder on C:\. This figure demonstrates how it works. 32. If you don't want to use third party software, Windows offers a similar solution with shortcut ( . Sep 6, 2023 · Type the following lines into it: Next, save the file by clicking File > Save. Then enter a name for the shortcut and click Finish . But how do i skip the VBS process and do it completely from my BATCH script? (Is there any way using RUNDLL32. Shell") >> CreateShortcut. Create a shortcut (. If you want to be cooler, change the attribute of that shortcut to "hidden" and the keyboard shortcut will still work. Then on the new file right click and select properties. Then you can specify an icon for the link, on its properties page. Navigate to where you want the shortcut. Jun 19, 2012 · I already have the batch file, just need to make a powershell script that creates a shortcut where the target property is something like: C:\Windows\System32\cmd. CPL,NewLinkHere (Dest)) Jul 23, 2009 · 85. exe" "c:\scripts\hotkey. bat to cmd /c E:\Soft\MyProgram\start. Jul 26, 2016 · Creating a shortcut to run apps elevated without a UAC prompt in Windows 10. This seems to be a problem only my PC has. Open Control Panel. Create a batch file like this: cd "c:\Documents and Settings\etc\etc". In your batch file, just run autohotkey and send the path to your script as the parameter. Sep 20, 2023 · -----------------------------------------------------------------------------------------------------------------------------------Become or hire the top 3% WshShell. Run a shortcut with a batch file. Right-click the new shortcut and select properties. exe /C "C:\Dev\Batch files\cmake-guiMSVC1064bit. vbs. . CreateObject("WScript. You can simply drag files on batch files aswell, they will be passed as quoted paths the same way - however, since the batch file is no longer run in the directory it is stored in, you may want to A batch file is a short script, a list of commands that are run as if you had executed them from the command line. Arguments = "-admin". 2. The up-side of pointing the Registry to a batch file, instead of just adding the command, is that you can add in as many AutoRun commands as you like to the batch file. After completing the steps above, double-click the shortcut icon to shut down or restart the computer. Choose a location, ideally the same as your batch file, and click Next. A new window titled "Create Task" will be opened. Let's start small and say that you want to create Mar 12, 2022 · Assuming you're talking about Windows 10/11, you can create a new toolbar by right mouse clicking on an empty space on the taskbar: 'New toolbar' lets you define one, by pointing towards a folder which contains the shortcuts: Jul 28, 2014 · Right click batch file > Send to > Desktop (create shortcut) Of course you can send the shortcut to where ever you would like. Here's what I have for the start menu shortcut Jul 21, 2015 · Click inside the text box labeled Shortcut key, and then type the keystroke you want to launch it. Nov 6, 2021 · To restart the computer, type the following line in the location. (Image credit: Future) Click the Browse button Dec 18, 2023 · On the folder, locate the Minecraft Launcher, right click it an select "Create shortcut". how do i fix this? edit: i dont know if it would matter but the folder Block Dodger files contains other files too that the . Beauty is that if the shortcut is moved along with the folder containing the batch script to a different drive and a different depth, it'll still work. I also thought of searching for Run as Administrator for the batch file itself, but also came up empty. For that I have seen that the following command works very well: wscript. Make a batch file that'd call your target executable with -param and batch file's first parameter and then make shortcut point to that batch file. dll icon file: @echo off. The shortcuts works fine but I want to make a batch file to select which account to use, then launch the shortcut for that account. I have been able to do this using and intermediate batch file in the same folder as the shortcut as follows: Intermediate. Nov 15, 2019 · Set Shortcut = WScript. exe itself works perfectly fine, even when i manually create a shortcut it works, i dont know why the shortcut created by the batch file doesn't work. May 23, 2017 · I have a folder A and a folder B. exe) or via a batch file; cscript. While execute the batch program the linked exe file need to create desktop shortcut automatically. Under the shortcut tab, note the target option. On the "General" tab, specify the name of the task. Use net start <service> and net stop <service> in a batch script: net stop spooler. url format shortcut is quite easy as the format is a simple text file. Get into shortcut property and change target to something like: cmd. EXE APPWIZ. Mar 17, 2014 · The only alternative I could think of is to instruct the user in the batch file, which is tacky IMO. Oct 18, 2022 · Create a batch file desktop shortcut that sets a screen resolution as covered above. The file spec can be found here , and a quick glace will explain. First hi to everyone ! I want to create a shortcut to a batch file that does not prompt the DOS window. Add your options to the target as follows: \path\to\trc-image-titler. exe needs to run, i dont know if these should all be Nov 12, 2019 · To accomplish this, the Target for the Shortcut must be the following: "C:\Program Files (x86)\Microsoft Office\Office15\MSACCESS. Access its properties, and change the shortcut to the following by prepending cmd. lnk” “%USERPROFILE\Desktop”. . mklink creates a link, not a shortcut. @echo Writing CreateShortcut script. In this installation script, I want to make the users' ability to use this folder as easy as possible, so I would like to make a shortcut to this folder and place it on the Public user's desktop. Here are your possible correct syntax lines: xcopy /Y "\\servername\folder_1\folder_2\folder 3 Dec 6, 2008 · With XXMKLINK, you can write a batch file for software installation which has been done by specialized installation programs. Advertisement. /D:description : Defines the description (or comment) for the shortcut. lnk is deleted from the desktop. Mar 2, 2014 · possible duplicate of creating a shortcut for a exe from a batch file - creating one for a folder is the same as creating one for an executable. Dec 17, 2015 · 2. set /p choice=. net start spooler. First, create a shortcut by right clicking on the start. Jun 3, 2015 · My Windows 8 PC doesn't seem to want to create Shortcuts using VBScript. 1) Keep the . Now copy the shortcut to a new location and double click it! The batch file should open and report the path from where the shortcut was located. Change Target (under the Shortcut tab on Windows 7) to the following: Mar 28, 2021 · the actual game. "C:\path yo tour shortcut. Which results in a file named Explorer. Alternatively you could create a batch script, if your goal is just to have a clickable way to run commands. Your answer explains how to give an existing shortcut file a keyboard "shortcut". @echo off & setlocal. Jun 24, 2019 · Q: Is there a way to create a batch file which would put a desktop icon onto the desktop which invokes an HTML page in a web browser and change the associated icon for that particular desktop item… Mar 7, 2011 · For Data, you can either put the path to a batch file like the one above (remove the ECHO and CMD lines) or just insert the CD command as shown in the above example. cmd". Save End With changing the location to wherever you want. Open up a new Notepad noteand paste this text in that window. I have been trying to create a shortcut to launch a batch file one folder up from the shortcut location. Search for Command Prompt, right-click the top result, and select the Run as administrator option. So instead You just right click on your "file. Step 3: In the Properties window, click the Shortcut tab. 1. I have been able to solve this using an intermediate batch file in the same folder as the shortcut as follows: Intermediate. In the shortcut target, type the following text: cmd /c "full path to your batch file". Some nice icons are available here: May 27, 2015 · Create a shortcut to your script on the desktop and set a shortcut key for the shortcut using standard properties window. It could be that you want to connect to a company driver, run WorkBench and then exit. Right click the background of the directory. lnk" to launch the shortcut. Sep 20, 2014 · Windows batch scripting / Command line arguments at Wikibooks. bat file extension. edit; Right click the original executable and click copy. bat file, put the shortcut where you want to use it at. Jul 16, 2015 · Trying to create a shortcut in batch using a VBScript. <# : batch portion. lnk) My problem is that this code always creates a file shortcut, not a folder shortcut, so if I try to May 30, 2020 · To have a . Enter the desired folder name, and then press enter on the keyboard. xcopy requires you use a \ at the end of a destination directory. lnk" and the file test. 3. And in your autohotkey script, do something like this: Mar 23, 2017 · Right click the batch file and click copy. lnk" With CreateObject("WScript. To collect the choice of the user, I declared a variable using /p flag for the set command. @echo off mode con cols=87 lines=5 & color 9B Title Generer le vbscript pour la creation du raccourci sur le bureau by Hackoo echo Generer le vbscript pour la creation du raccourci Timeout /T 2 > Nul ( echo Call Shortcut("c:\windows Dec 20, 2023 · Execute Single CMD Command Through Desktop Shortcut. 1 Spice up. Simply drag your new shortcut to the taskbar. CreateShortcut(DestPath) Shortcut. I have searched and searched but I cannot find how. exe invisible. A file with . Anil_M. To elevate the batch file to run as admin, follow the steps below: Right-click the shortcut you just created (should be on the desktop or where ever you send it), and select 'Properties'. bq uw yb bw wm xk pa ob ha zw