Can someone write me a .bat file?

Discuss Windows 95, 98 and ME.
Post Reply
Dr Eggman
User avatar
FTP Access
Posts: 321
Joined: Sat Jun 30, 2007 8:25 pm
Location: Eggmanland/Toronto
Contact:

Can someone write me a .bat file?

Post by Dr Eggman »

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!

missingno
User avatar
FTP Access
Posts: 173
Joined: Sat Nov 17, 2007 9:47 pm

Post by missingno »

Here we go.

Code: Select all

@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.

Dr Eggman
User avatar
FTP Access
Posts: 321
Joined: Sat Jun 30, 2007 8:25 pm
Location: Eggmanland/Toronto
Contact:

Post by Dr Eggman »

I renamed the second bat, but i think im going to put something using the code from before

Code: Select all

@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!

Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Post by Kenneth »

A little backward compatibility.

Code: Select all

@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

Dr Eggman
User avatar
FTP Access
Posts: 321
Joined: Sat Jun 30, 2007 8:25 pm
Location: Eggmanland/Toronto
Contact:

Post by Dr Eggman »

Windows OCManage wrote:A little backward compatibility.

Code: Select all

@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!

Post Reply