diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-23 13:52:57 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-23 13:52:57 +0000 |
commit | 89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d (patch) | |
tree | 18f09394ce3b811e3df7d15de747e842000bd4ad /!NotAdopted/IMO2sProxy/bin | |
parent | a9580df150d799246eaecbf3c1fb5cecf9f8ab49 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to '!NotAdopted/IMO2sProxy/bin')
-rw-r--r-- | !NotAdopted/IMO2sProxy/bin/setupimo.bat | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/!NotAdopted/IMO2sProxy/bin/setupimo.bat b/!NotAdopted/IMO2sProxy/bin/setupimo.bat new file mode 100644 index 0000000000..9c765c6479 --- /dev/null +++ b/!NotAdopted/IMO2sProxy/bin/setupimo.bat @@ -0,0 +1,24 @@ +@echo off
+SET /P USER=Skype username:
+IF "%USER%"=="" (
+ echo Username is mandatory, aborting.
+ GOTO fini
+)
+SET /P PASS=Skype password:
+IF "%PASS%"=="" (
+ echo Password is mandatory, aborting.
+ GOTO fini
+)
+SET /P IP=Bind to IP [0.0.0.0]:
+SET /P PORT=Bind to Port [1401]:
+SET /P DAEM=Do you want to daemonize [N]:
+IF /I "%DAEM%" NEQ "Y" SET /P VERB=Do you want verbose command output [N]:
+IF /I "%DAEM%"=="Y" SET CMDLINE=%CMDLINE% -d
+IF /I "%VERB%"=="Y" SET CMDLINE=%CMDLINE% -v
+IF NOT "%IP%"=="" SET CMDLINE=%CMDLINE% -h %IP%
+IF NOT "%PORT%"=="" SET CMDLINE=%CMDLINE% -p %PORT%
+SET CMDLINE=%CMDLINE% %USER% %PASS%
+echo imo2sproxy %CMDLINE% >startimo.bat
+echo startimo.bat created.
+:fini
+pause
|