Page 1 of 3
.bat files?
Posted: 06 Feb 2013 10:19
by Steylor
Hello everybody, I'm trying this software and so far I love it, given the really annoying thing that it doesn't support MTP

But I saw in the roadmap it will be implemented.
The one thing that really bugs me is the fact that I'm not able to run .bat files.
I have lot of .bat as simple as "telnet xx.xx.xx.xx" to access my customers' routers but when I run one of those a dos window just pop up and close istantly.
I use them A LOT, so this really is a deal breaker for me.
I looked around the configuration and around the forum, but I couldn't find a solution , which I'm sure will be as easy as this question is dumb

To me this software beats by far the other file managers I've tried, but without this option to me is almost useless, can anyone help me with this?
Thank you very much for your help
Stefano
Re: .bat files?
Posted: 06 Feb 2013 10:55
by Marco
Could you edit one of those bat's as
and tell us what the command prompt says?
Re: .bat files?
Posted: 06 Feb 2013 11:08
by Steylor
Good tip, now I can see the error.
It says : 'telnet' is not a recognized command.
Like it doesn't now where to find it.
I guess there's a place somewhere in XYplorer where I should insert the "OS system path" or something like that?
I'm using Win7 64bit
Thank you very much
Re: .bat files?
Posted: 06 Feb 2013 11:13
by highend
You didn't "install" telnet...
Open a command prompt with admin rights and execute:
Code: Select all
dism /Online /Enable-Feature /FeatureName:"TelnetClient"
Re: .bat files?
Posted: 06 Feb 2013 11:31
by Steylor
Thanks, Highend, what do you mean "I didn't install telnet "?
These .bat files work with every other file manager I tried.....
Anyway, I tried the command you suggested , it says "operation completed succesfully", but still no .bat file opening in XYplorer.
Thank you very much
Re: .bat files?
Posted: 06 Feb 2013 11:47
by highend
telnet' is not a recognized command
Which program displays this message, XYplorer? It doesn't know anything about what's inside! a .bat file.
Post a screenshot of that message please and a screenshot of the template section in your configuration (hit F9 and click on "Templates" on the left side).
Re: .bat files?
Posted: 06 Feb 2013 11:52
by Steylor
When I run the .bat, the dos window opens as it should but then it closes. Adding the command "pause" I could see the "telnet is not a recognized command" error, inside the dos window.
Here is a screenshot.
Re: .bat files?
Posted: 06 Feb 2013 12:10
by highend
open a cmd, enter:
hit return.
Post a screenshot of that one and you forget to post a screenshot of the templates section in your XY config

Re: .bat files?
Posted: 06 Feb 2013 12:35
by Steylor
Here is the "set" screenshot. Maybe is something related to the "path" section? I'm launching the .bat files from the R:\ drive and it's not in the list. (Althouhg, as I said, they work in other file mangers).
About the "template" screenshot....I have no idea where to find it in XYplorer
Ah, ok, found it!
Hmmm...maybe it has something to do with the "command line interpreter" being empty ??
Thank you
Re: .bat files?
Posted: 06 Feb 2013 12:37
by Marco
Just to recap, double clicking said bat's from within XY doesn't work, but it does in other file managers?
Re: .bat files?
Posted: 06 Feb 2013 12:44
by Steylor
Yes Marco, it does work in other file mangers. I don't think I can say which ones , can I?

Re: .bat files?
Posted: 06 Feb 2013 12:47
by Marco
Steylor wrote:Yes Marco, it does work in other file mangers. I don't think I can say which ones , can I?

Lol, we are not in China! XD
Are you on 64bit?
Re: .bat files?
Posted: 06 Feb 2013 12:51
by Steylor
LOL
Yes I'm on 64bit
Re: .bat files?
Posted: 06 Feb 2013 12:53
by Marco
Then try setting this tweak to 1. Not guaranteed to work tho.
Code: Select all
; Tweak: set to 1 to disable WOW64 redirection on 64-bit platforms (NOT recommended with file operations!)
WOW64DisableRedirection=1
Re: .bat files?
Posted: 06 Feb 2013 13:00
by Steylor
Noooope! Doesn't work.
Btw I tried with a new .bat file with "ping xx.xx.xx.xx" or "tracert xx.xx.xx.xx" and they both worked fine.
Seems only telnet doesn't work! @@
Can you guys try to launch a .bat like "telnet xx.xx.xx.xx" and see what happen?
Just to see if it's my pc or it's xyplorer.
Thank you!