tal ormanda Posted December 1, 2006 Posted December 1, 2006 @echo offstart "FileZilla server Start & Stop" "C:\Program Files\FileZilla Server\FileZilla server.exe"I made that, it opens FileZillas service, after it opens it, it asks for open the service Yes/No.My question: Is there a command I can add into the batchfile to make it auto say yes so I dont have to click it, and one to make it auto say No for another batch file?
Jeremy Posted December 1, 2006 Posted December 1, 2006 Why don't you just leave the FileZilla Server set to automatic and started and forget about it? Worry free.You might try reading FileZilla's Documentation and the FileZilla Forums.
tal ormanda Posted December 1, 2006 Author Posted December 1, 2006 (edited) because I choose not to.that and i want to know how to tell batch files how to do that. Edited December 1, 2006 by tal ormanda
Jeremy Posted December 1, 2006 Posted December 1, 2006 As the program you're using is FileZilla and anything regarding its use and configuration is more than likely already available at the FileZilla Forums / Knowledgebase / FAQ, your choosing not to is your own loss and unwillingness to seek the answers to your questions.
tal ormanda Posted December 1, 2006 Author Posted December 1, 2006 I'm sure theres a batch command to input the select of a Yes button so I don't have to.
Sonic Posted December 1, 2006 Posted December 1, 2006 To start it :"C:\pathTo\FileZilla\FileZilla server.exe" /compat /startTo stop it :"C:\pathTo\FileZilla\FileZilla server.exe" /compat /stop
gunsmokingman Posted December 1, 2006 Posted December 1, 2006 Here a VBS script that uses the Yes No Cancel Messagebox just fill in your path to the appSave as FileZilla.vbs'4132 = yes no buttons, 4131 = yes no cancel Dim Act, ZZ1 Set Act = CreateObject("Wscript.Shell") ZZ1= MsgBox("Did you want to start or stop FileZilla" & vbCrLf &_ space(5) & "Yes to start FileZilla" & vbCrLf & space(5) & "No to stop FileZilla" &_ vbCrLf & space(5) & "Cancel to just do nothing",4131 ,"FileZilla") If ZZ1 = 6 Then Act.Run("C:\pathTo\FileZilla\FileZilla server.exe /compat /start") End If If ZZ1 = 7 Then Act.Run("C:\pathTo\FileZilla\FileZilla server.exe /compat /stop") End If
tal ormanda Posted December 1, 2006 Author Posted December 1, 2006 I did this:@echo offstart "FileZilla server Start & Stop" "C:\Program Files\FileZilla Server\FileZilla server.exe" /compat /startnothing happened.
Sonic Posted December 4, 2006 Posted December 4, 2006 I did this:@echo offstart "FileZilla server Start & Stop" "C:\Program Files\FileZilla Server\FileZilla server.exe" /compat /startnothing happened.Or if you want to keep & just rewrite to :@echo offstart "FileZilla server Start ^& Stop" "C:\Program Files\FileZilla Server\FileZilla server.exe" /compat /startNote the ^ ...
tal ormanda Posted December 5, 2006 Author Posted December 5, 2006 I just got a press any key to continue option.Nothing.
Sonic Posted December 5, 2006 Posted December 5, 2006 I just got a press any key to continue option.Nothing.Copy/paste your full batch plz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now