• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

CMD Issues

Stroker

Limp Gawd
Joined
Dec 7, 2005
Messages
166
I have a batch file to run as a macro from my harmony remote to open and close the dvd tray. i pipelined this with exit but it doesn't close out of the terminal window after executing. Is there something else I can do? Thanks in advance!
 
Odd that your current script wont close at the end. Is this a normal batch script or vbs file?
 
Last edited:
I had this issue creating bat files...

is the bat file calling an exe?
if so, you may try starting it with:

start app.exe

instead of just
app.exe
 
It's a normal batch script and i don't know how I missed this but what's actually happening is that i have it opening the terminal window and then executing the script so it's opening 2 windows so it is closing one of them. But it doesn't work if I don't run cmd first and then do a /k and run the file...also 2 exits piped together doesn't work. Any ideas?
 
Can you change the macro so it runs the batch file when it opens the terminal? So, instead of your macro calling CMD it calls CMD <path to cmd file>? I'm not sure if that is what you said you did, or if you called the batch file with CMD inside the terminal...

A copy of the script might help.

[edit]
Actually, why are you even opening a terminal first? Batch files are considered executable content and you should be able to just call the batch file instead of opening a terminal.
 
Back
Top