long file names

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
johnfin
Coder
Posts: 18
Joined: Tue Apr 01, 2008 8:26 am

long file names

Post by johnfin » Fri Nov 14, 2008 3:18 pm

I am writing a file into a dos directory via qbasic and I need a file name longer then 8 characters. Any ideas?

User avatar
burger2227
Veteran
Posts: 2435
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Fri Nov 14, 2008 5:49 pm

Answered at Network 54. Did you miss a site to post at?
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Sat Nov 15, 2008 3:51 pm

Maybe he doesn't post there, ever think of that? It would be more useful to provide a URL to the post.

Ralph
Veteran
Posts: 148
Joined: Fri Feb 09, 2007 3:10 pm
Location: Katy, Texas

Post by Ralph » Sat Nov 15, 2008 3:58 pm

Yes, he did post there! And, here is the URL to prove it!
http://forum.qbasicnews.com/index.php?topic=13279.0
Ralph, with QuickBASIC 4.5, operating under Windows XP, wiht anHP LaserJet 4L Printer. Bilingual in English/Spanish

User avatar
burger2227
Veteran
Posts: 2435
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Sat Nov 15, 2008 8:20 pm

Not the problem. He posted everywhere I can find! Tell em Ralph.....

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

Ralph
Veteran
Posts: 148
Joined: Fri Feb 09, 2007 3:10 pm
Location: Katy, Texas

Post by Ralph » Sat Nov 15, 2008 10:01 pm

Sorry, Ted, I goofed! I'm not into the 84 site, but, rather, this place:
http://forum.qbasicnews.com/index.php?topic=13279.0
Ralph, with QuickBASIC 4.5, operating under Windows XP, wiht anHP LaserJet 4L Printer. Bilingual in English/Spanish

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Sun Nov 16, 2008 5:40 am

Did he actually post on network54 or not?

User avatar
burger2227
Veteran
Posts: 2435
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Sun Nov 16, 2008 11:55 am

Yes he did. The solution would be to work with an 8.3 filename in QB and then use a SHELL "Cmd /C ren shortnme.ext longname.ext" in NT or XP.

Use SHELL "Command ........ in Win9x.

http://www.network54.com/Forum/13959/me ... 26quot%3B-

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

Ralph
Veteran
Posts: 148
Joined: Fri Feb 09, 2007 3:10 pm
Location: Katy, Texas

Post by Ralph » Mon Nov 17, 2008 10:54 am

Nodtveidt wrote:Did he actually post on network54 or not?
Ted is right, as usual. JohnFin DID post in Network54. Here is the URL: wherehttp://www.network54.com/Forum/13959/message/1226693849/
Ralph, with QuickBASIC 4.5, operating under Windows XP, wiht anHP LaserJet 4L Printer. Bilingual in English/Spanish

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Mon Nov 17, 2008 10:26 pm

Now that's more like it. Was that so hard? :lol:

Ralph
Veteran
Posts: 148
Joined: Fri Feb 09, 2007 3:10 pm
Location: Katy, Texas

Post by Ralph » Wed Nov 19, 2008 11:43 pm

Still no answer or acknowledgement from the OP. I'm out of here!
Ralph, with QuickBASIC 4.5, operating under Windows XP, wiht anHP LaserJet 4L Printer. Bilingual in English/Spanish

User avatar
burger2227
Veteran
Posts: 2435
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Fri Nov 21, 2008 1:28 am

You DON'T wanna see anything hard that I have Noddy! :oops:

I said he posted everywhere. I'm not answering his rude butt anymore! I'm not keen on answering to you either.....

Perhaps we can talk when Puerto Rico wants to be a state. Instead of a bunch of freeloaders!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt » Fri Nov 21, 2008 6:22 am

burger2227 wrote:Perhaps we can talk when Puerto Rico wants to be a state. Instead of a bunch of freeloaders!
Come on down here and say that to my face, chicken. Them's fightin' words.

Post Reply