Windows 10: How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close...

Discus and support How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close... in Windows 10 Network and Sharing to solve the problem; I can't figure out how to run a batch file "ShareX.exe -ImageEditor %1" so that the batch console window can close while the "ShareX.exe -ImageEditor... Discussion in 'Windows 10 Network and Sharing' started by marceepoo, Aug 29, 2021.

  1. marceepoo Win User

    How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close...


    I can't figure out how to run a batch file "ShareX.exe -ImageEditor %1" so that the batch console window can close while the "ShareX.exe -ImageEditor %1" window remains open.Any suggestions about where I could find the answer would be much appreciated.If this is the wrong forum, please accept my apologies; but if you know where the right forum is, please let me know.Thank you very much for any help you can give me. Marc

    :)
     
    marceepoo, Aug 29, 2021
    #1

  2. Batch file

    thank you for your reply. how to merge the codes so that the batch file does this

    the batch file displays the options below

    1. open the *.spl file in notepad
    2. delete the *.shd and *.spl files
    3.exit

    commands execute as options are selected
     
    Sandeep Bhugoo, Aug 29, 2021
    #2
  3. Lillebror Win User
    Batch Files Knowledge Base

    You can't just rename a batch file to .exe *Big Grin How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close... :D it wont ever work! =D and that "bench" is built into vista *Smile How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close... :) And you cant input text into another cmd window.. But if you want to open calc.exe from a batch file just type calc.exe *Smile How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close... :)
     
    Lillebror, Aug 29, 2021
    #3
  4. How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close...

    Batch file

    hello,

    i am not so good in creating batch files i need some help in creating one.

    in the following path

    C:\Windows\System32\spool\PRINTERS

    there is a .SHD and .SPL file created when prints launched

    i need a batch file to open the .SPL in notepad first then on closing the notepad opened, all the files .SHD and .SPL are permanently deleted

    any help please

    code to open the notepad is as below

    start notepad "C:\windows\system32\spool\printers\FP00002.SPL"

    the file is opened but there are unwanted characters that appear as well as below


    How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close... upload_2014-6-19_10-43-2-png.png
     
    Sandeep Bhugoo, Aug 29, 2021
    #4
Thema:

How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close...

Loading...
  1. How to run a batch file "ShareX.exe -ImageEditor %1" so that the batch window can close... - Similar Threads - run batch file

  2. How to run a simple batch file in windows 10

    in Windows 10 Software and Apps
    How to run a simple batch file in windows 10: For years, from Windows3.1 to Windows7 I have been able to run simple batch files like something.bat It always executed without any problems.Fast forward to Windows10 pro 22H2 , it does not work anymore : On clicking the 'something.bat' , it shows the same as 'something.txt'...
  3. How to run a simple batch file in windows 10

    in Windows 10 Network and Sharing
    How to run a simple batch file in windows 10: For years, from Windows3.1 to Windows7 I have been able to run simple batch files like something.bat It always executed without any problems.Fast forward to Windows10 pro 22H2 , it does not work anymore : On clicking the 'something.bat' , it shows the same as 'something.txt'...
  4. Cant run Batch file

    in Windows 10 Gaming
    Cant run Batch file: When i try to run a batch file all it says is this app can't run on your pc i tried going to my property and going to compatibility but it isn't there im on windows 11 btw but if someone can pls help...
  5. Cant run Batch file

    in Windows 10 Software and Apps
    Cant run Batch file: When i try to run a batch file all it says is this app can't run on your pc i tried going to my property and going to compatibility but it isn't there im on windows 11 btw but if someone can pls help...
  6. Batch Files

    in Windows 10 Gaming
    Batch Files: How do i make it that my batch file puts itself in to startup https://answers.microsoft.com/en-us/windows/forum/all/batch-files/6156404d-20d4-4f58-bee5-14629dbf7b10
  7. Batch Files

    in Windows 10 Software and Apps
    Batch Files: How do i make it that my batch file puts itself in to startup https://answers.microsoft.com/en-us/windows/forum/all/batch-files/6156404d-20d4-4f58-bee5-14629dbf7b10
  8. Create batch files with Batch?

    in Windows 10 Software and Apps
    Create batch files with Batch?: How to create Batch and VBS files with Batch? So I write a batch file which I then convert to exe that creates new folders in a certain directory and then creates batch and VBS files with a certain content and saves them in the created folder. So it's similar to a program...
  9. Running an uneditable Batch file

    in AntiVirus, Firewalls and System Security
    Running an uneditable Batch file: Hi people, Got a task to run a certain CMD command on a number of PCs as administrator. So I thought i would create a batch file doing this. This is not the issue. The issue is that I am unable to lock down successfully so people cannot just edit the file to see the admin...
  10. How to run batch file with powershell

    in Windows 10 Network and Sharing
    How to run batch file with powershell: I created a basic batch file that uses "net share" to share a local path. I saved the batch file. When I double click the file I get "access is denied"... note, I am logged on as a admin. Anyways... I figure it has to be run using power shell. I do not know much about...