Annoyances.org
Home » Windows 95 Discussion Forum » Message 1181686084 Search | Help | Home
  
re: redirect I/O for QB ?
Tuesday, June 12, 2007 at 3:08 pm
Windows 95 Annoyances Discussion Forum
Posted by Jacob6601 (1609 messages posted)


I'm not sure exactly what you are trying to do, but the simplest way I've found to 
manipulate LFNs is by reverting back to the DOS prompt via batch files and using 
double quotes around the filename. For example, CD "C:\Program Files" will work. 
However, you must be running windows for this to work -- even safe mode does not 
support LFNs (98 and later not tested).

These commands are probably older than your version: You probably need to adjust 
the actual commands/syntax.

REM *******************************************************************
This is the command for calling a batch file from a Qbasic routine.
REM *******************************************************************

540 SHELL "C:\DOS\BASIC\LEWPREST\LEWPBACK.BAT"

REM *******************************************************************
REM This is the basic command structure for calling a Qbasic routine
REM from a batch file. The most important aspects are the /RUN switch
REM before the actual program name and having a SYSTEM command at the
REM end of the basic program.
REM *******************************************************************

D:\DOS\Dos6\Qbasic.exe /RUN D:\System\Batch\Backup\A.bas



Written in response to:
redirect I/O for QB ? (geek9pm: Sunday, June 10, 2007 at 6:04 pm)

There are presently no replies to this message.

All messages in this thread [show all]
-redirect I/O for QB ? (geek9pm: Sun, Jun 10, 2007, 6:04 pm)
*re: redirect I/O for QB ? (Jerry: Sun, Jun 10, 2007, 10:42 pm)
*re: redirect I/O for QB ? (Jacob6601: Tue, Jun 12, 2007, 3:08 pm)
Return to the Windows 95 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.