

BAT file with the following content which works (somehow): off BAT) with the arguments being the ShareX path variables could work because, by default, they are executable.Īfter a ridiculous amount of trial-and-error (mostly to ensure compatibility with paths that contain single quotes), I created a. PS1) with the arguments being the ShareX path variables would not work because, by default, they're not executable. Calling the Command Prompt or Windows PowerShell binaries with the arguments being the commands to create the file would not work because, for some reason, the simple presence of the ShareX variables causes it to fail.Described as 'File Path without extension + "Output File Name Extension"'

ShareX's "Actions" function allows files to be called with arguments and provides two variables:
