Hi Al,
Do any other bat files run on the machine?
Cheers,
Andrew
>I e-mailed a .ZIP file of FP tables etc. to a client. I also sent a batch file, UNZIP.BAT, which calls PKUNZIP to expand the contents to a certain folder. The client complained that when she double-clicked on UNZIP.BAT, it didn't run properly, reporting "Bad command or file name" instead.
>
>The batch file, if working properly, is supposed to display a title and copyright notice (via ECHO ...) and give the user a chance to continue or abort (via PAUSE), before trying to do anything else.
>
>I had the user copy the files to a diskette, and fire up a DOS box on her W98 machine. She logged into drive A: and ran the following commands:
A:\>dir
> - contents of drive A: displayed, including UNZIP.BAT
>
>A:\>type unzip.bat
> - contents of UNZIP.BAT displayed correctly on the screen
>
>A:\>unzip
> - "Bad command or file name"
>
>A:\>unzip.bat
> - "Bad command or file name"
The batch file title and copyright notice do not appear, it seems clear that her machine is not attempting to run the file at all.
>
>Ideas, anyone?
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.