BetaArchive Logo
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 23d, 5h, 30m | CPU: 26% | MEM: 5514MB of 11097MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 5 posts ] 
Author Message
 PostPost subject: Can someone write me a .bat file?        Posted: Sat Feb 16, 2008 12:34 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sat Jun 30, 2007 8:25 pm

Posts
321

Location
Eggmanland/Toronto

Favourite OS
Longhorn 4015.lab06
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.

_________________
I am The Eggman! -The Doctor
Like Pictures? Bored? Check out some Photography and "Like" it! Check it out here!


Top  Profile  WWW
 PostPost subject:        Posted: Sat Feb 16, 2008 12:40 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sat Nov 17, 2007 9:47 pm

Posts
172
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.


Top  Profile
 PostPost subject:        Posted: Sat Feb 16, 2008 12:48 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sat Jun 30, 2007 8:25 pm

Posts
321

Location
Eggmanland/Toronto

Favourite OS
Longhorn 4015.lab06
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?

_________________
I am The Eggman! -The Doctor
Like Pictures? Bored? Check out some Photography and "Like" it! Check it out here!


Top  Profile  WWW
 PostPost subject:        Posted: Sat Feb 16, 2008 1:00 am 
Reply with quote
Donator
Offline

Joined
Sun May 13, 2007 12:42 am

Posts
2406
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


Top  Profile
 PostPost subject:        Posted: Sat Feb 16, 2008 1:45 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sat Jun 30, 2007 8:25 pm

Posts
321

Location
Eggmanland/Toronto

Favourite OS
Longhorn 4015.lab06
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.

_________________
I am The Eggman! -The Doctor
Like Pictures? Bored? Check out some Photography and "Like" it! Check it out here!


Top  Profile  WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2018

 

Sitemap | XML | RSS