Andrew,
The following are two batch files that I have tried without success.
****************************************
Batch file #1
pilrc helloworld.rcp
m68k-palmos-gcc -c HelloWorld.c
m68k-palmos-gcc -o HelloWorld
m68k-palmos-obj-res HelloWorld
build-prc HelloWorld.prc "HelloWorld" HWLD *.grc *.bin
exit
Batch file #2
c:\palmdev\pilrc pilrc helloworld.rcp
c:\PalmDev\PRC-TOOLS\H-i586-cygwin32\bin m68k-palmos-gcc -c HelloWorld.c
c:\PalmDev\PRC-TOOLS\H-i586-cygwin32\binm68k-palmos-gcc -o HelloWorld
c:\PalmDev\PRC-TOOLS\H-i586-cygwin32\binm68k-palmos-obj-res HelloWorld
c:\PalmDev\PRC-TOOLS\H-i586-cygwin32\binbuild-prc HelloWorld.prc
"HelloWorld" HWLD *.grc *.bin
exit
Result of both batch files #1 and #2
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Compilation done
-----------------------RESULT-----------------------
File created C:\PalmDev\VFDIDE\HelloWorld\HelloWorld.PRC
File size 0 Bytes. (Size = 0 indicates a compilation error. Please correct
and try again)
*******************************************
This is what my autoexec.bat file looks like:
PATH
C:\;C:\Progra~1\Borland\Delphi7\Bin;C:\Progra~1\Bo rland\Delphi7\Projects\Bpl
\;C:\Windows\COMMAND
PATH C:\PalmDev\sdk\include;C:\PalmDev;C:\PalmDev\pilrc ;C:\PalmDev\Emulator
PATH C:\PalmDev\cygwin~1\H-i586-c~1\bin;
::set MAKE_MODE=UNIX;
::set CYGNOS_HOME=c:\PalmDev\cygwin~1\H-i586-c~1;
::set PRCTOOLS_HOME=c:\PalmDev\PRC-TOOLS\H-i586-c~1;
::PATH PRCTOOLS_HOME\BIN;CYGNOS_HOME\BIN;
:: SET MakeMode=Unix
:: SET CYGHOME=c:\PalmDev\cygwin~1\H-i586-c~1
:: SET PRCHOME=c:\PalmDev\PRC-TOOLS\H-i586-c~1;
:: PATH %PRCHOME%\BIN;%CYGHOME%\BIN;
Cheers, Dingus
"Andrew H. Carter" wrote in message
...
On Tue, 24 Aug 2004 16:36:11 +1200, "Dingus"
scribbled some thoughts:
Hi,
I have installed some applications that require settings be made
in the autoexec.bat file.
I have made the necessary entries, but the autoexec.bat
file doesn't seem to be read when booting up.
ie: From a DOS prompt I should be able to invoke various
applications that have been referred to in the autoexec.bat
file - however only a message BAD COMMAND OR FILE
NAME is displayed, as if nothing exists?
Any ideas?
Dingus.
Could you post the commands/script?
NOTE: Spelling is important, as are correct paths and if
there are any spaces they need to be enclosed in quotes.
--
Sincerely, | (©) (©)
| ------ooo--(_)--ooo------
Andrew H. Carter | /// \\\
d(-_-)b |
|