BetaArchive
https://www.betaarchive.com/forum/

Can someone write me a .bat file?
https://www.betaarchive.com/forum/viewtopic.php?f=60&t=3629
Page 1 of 1

Author:  Dr Eggman [ Sat Feb 16, 2008 12:34 am ]
Post subject:  Can someone write me a .bat file?

Hey all,

I'm a real n00b with bat files and I have been trying to write a bat file.
So this is the deal

I need some thing along the lines of this

echo This script will start the PC-PSP WiFiServer. Remember to start this first!
Press any key to continue. . .
(no echo)
D:\WiFiController-0.4.4\PC\Start WiFiServer for Controller 1.bat


So can anyone write a bat file??

Oh and just for you to know what the second bat file contains

WiFiServer.exe "\\.\PPJoyIOCTL1" 20001

Oh and WiFiServer.exe is in the same directory.

Author:  missingno [ Sat Feb 16, 2008 12:40 am ]
Post subject: 

Here we go.

Code:
@echo off
echo Remember to launch this batch file first!!
echo Starting the PC-PSP Wifi Server...
pause
"D:\WiFiController-0.4.4\PC\Start WiFiServer for Controller 1.bat"


If it doesn't work, rename D:\WiFiController-0.4.4\PC\Start WiFiServer for Controller 1.bat to something shorter, like "start.bat" and make the appropriate changes in the code.

Author:  Dr Eggman [ Sat Feb 16, 2008 12:48 am ]
Post subject: 

I renamed the second bat, but i think im going to put something using the code from before
Code:
@echo off
echo Remember to launch this batch file first!!
echo Starting the PC-PSP Wifi Server...
pause
D:\
cd D:\WiFiController-0.4.4\PC\
WiFiServer.exe "\\.\PPJoyIOCTL1" 20001


In theory, would it work?

Author:  Kenneth [ Sat Feb 16, 2008 1:00 am ]
Post subject: 

A little backward compatibility.
Code:
@echo off
echo Remember to launch this batch file first!!
echo Starting the PC-PSP Wifi Server...
pause
D:
cd WiFiController-0.4.4
cd PC
WiFiServer.exe "\\.\PPJoyIOCTL1" 20001

Author:  Dr Eggman [ Sat Feb 16, 2008 1:45 am ]
Post subject: 

Windows OCManage wrote:
A little backward compatibility.
Code:
@echo off
echo Remember to launch this batch file first!!
echo Starting the PC-PSP Wifi Server...
pause
D:
cd WiFiController-0.4.4
cd PC
WiFiServer.exe "\\.\PPJoyIOCTL1" 20001



Thanks a lot, works like a charm.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/