Search found 11 matches

by alesimula
15 Oct 2014 13:22
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

It would still have been nice if the attempt I made had actually been tried: @If /I %~x1 Equ .bin (Start "" "%~dp0epsx.exe" -nogui -fastboot -loadbin %1) included corrected execuatable name Yep now it works (I mean, i had tried with the code similiar to this before but it didnt ...
by alesimula
15 Oct 2014 13:01
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

<Edit> @Squashman I would suggest that the application/execuatable is likely a Sony Playstation emulator and the loaded file is more than likely an .iso </Edit> Yes. I google searched as soon as I saw how he was running that. If the OP would have provided all this information upfront this thread wo...
by alesimula
15 Oct 2014 12:52
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

I tried with @echo off Start "" "%~dp0\waffles.exe" "" -nogui -fastboot -loadbin "%~1" It also helps if you do not edit your post to change it to look like you attempted to do what I posted. We posted at almost exactly the same time so you couldn't have read ...
by alesimula
15 Oct 2014 12:12
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

What happens if you say @If /I %~x1 Equ .bin (Start "%~dp0\waffles.exe" -loadbin "%~1") I tried with @echo off Start "" "%~dp0\waffles.exe" "" -nogui -fastboot -loadbin "%~1" since in other ways it wasnt working at all this way it starts i...
by alesimula
15 Oct 2014 11:53
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

But you said earlier that waffles.exe is in the same folder as the batch script. Exactly. The current working directory will be where the batch file resides. Not the directory of the file you drag onto the batch file. facts proves the contrary: when i drag potato.bin inside the bat, it says waffle....
by alesimula
15 Oct 2014 11:43
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

@If /I %~x1 Equ .bin (Start waffles.exe -loadbin "%~1") Problem is, this would result as waffles.exe is in the same folder as potao.bin But you said earlier that waffles.exe is in the same folder as the batch script. Yes, but dragging potato.bin (wich is in a random folder) inside te bat ...
by alesimula
15 Oct 2014 11:32
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

Compo wrote:

Code: Select all

@If /I %~x1 Equ .bin (Start waffles.exe -loadbin "%~1")


Problem is, this would result as waffles.exe is in the same folder as potao.bin
by alesimula
15 Oct 2014 11:12
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

So you want to run waffles.exe by dragging it onto the batch script and then the batch script will run start waffles.exe -loadbin "<current path of waffles.exe>" Am I reading that correctly? NOT EXACTLY drag potato.bin inside loader.bat should do something like start waffles.exe -loadbin ...
by alesimula
15 Oct 2014 10:27
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Re: Setting a BAT to open a file BY DRAGGING THE FILE ON THE

yes but that doesn't tell me everything, i still don't know how can i open that specific exe file USING THOSE PARAMETERS
by alesimula
15 Oct 2014 09:22
Forum: DOS Batch Forum
Topic: Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT
Replies: 27
Views: 17240

Setting a BAT to open a file BY DRAGGING THE FILE ON THE BAT

Sorry if i've already made this questions on yahoo answers, but i think this forum would give better answers. Basically what i want to do is to make a BAT file open a file that's dragget to it or opened with it with another application BUT VIA SUFFIX in this way: START whatdoihavetotypehere.exe -loa...