From: larsnicolas AT aol DOT com (LarsNicolas) Newsgroups: comp.os.msdos.djgpp Subject: Parameter passing... Lines: 35 NNTP-Posting-Host: ladder05.news.aol.com X-Admin: news AT aol DOT com Date: 28 Jan 2000 07:01:07 GMT Organization: AOL http://www.aol.com Message-ID: <20000128020107.15219.00000406@ng-cd1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I tried to post this message before, but it seems that it wasn't been posted correctly 'cause it still not showing up even up to this writing... Well, my problem is really simple, though I don't know how to fix it because I am not sure what should be fixed... In my case, I tried to pass 3 consecutive dots (...) to my program compiled with djgpp (latest version)...something like: C:\>myprog ... I expected my argv[1] should be "..." but it wasn't...djgpp will give me just a single dot in argv[]...I tried to pass 2 dots and 4 dots and it was working fine ...my code is: ----------------- int main(int argc, char **argv) { printf("%s", argv[1]); return 0; }; I tried also other programs compiled with djgpp (like allegro's example exbitmap.exe) by using: C:\djgpp\allegro\examples\>exbitmap ...\allegro.pcx it was able to open the file successfully (there should be an error cause the file is not in d:\djgpp)...so I think this is not an error with my code but with djgpp...I tried this under Windows 98 DOS box...any help would be highly appreciated... Thanks Lars