Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text Previewer (windows only)
#14
(03-17-2024, 07:16 PM)SMcNeill Wrote: SHELL is broken.  Sad

Try these three examples:

Code: (Select All)
$Console:Only
Shell _Hide "reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"

Code: (Select All)
$Console:Only
Shell "reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"

Code: (Select All)
Shell "reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"

$CONSOLE:ONLY and SHELL works.
$CONSOLE:ONLY and SHELL HIDE doesn't work.
SHELL withotu $CONSOLE:ONLY doesn't work.

/SIGH
Run into this a lot.
If it does not work, try adding "cmd /c " in front of your command
That fixes is 99% of the time
Code: (Select All)
$Console:Only
Shell _Hide "cmd /c reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
Text Previewer (windows only) - by SMcNeill - 03-17-2024, 06:46 PM
RE: Text Previewer (windows only) - by a740g - 03-17-2024, 06:56 PM
RE: Text Previewer (windows only) - by SMcNeill - 03-17-2024, 07:00 PM
RE: Text Previewer (windows only) - by a740g - 03-17-2024, 07:05 PM
RE: Text Previewer (windows only) - by bplus - 03-17-2024, 07:14 PM
RE: Text Previewer (windows only) - by SMcNeill - 03-17-2024, 07:16 PM
RE: Text Previewer (windows only) - by mdijkens - 03-25-2024, 12:52 PM
RE: Text Previewer (windows only) - by SMcNeill - 03-17-2024, 07:46 PM
RE: Text Previewer (windows only) - by SMcNeill - 03-17-2024, 11:15 PM
RE: Text Previewer (windows only) - by SMcNeill - 03-18-2024, 12:31 AM
RE: Text Previewer (windows only) - by SMcNeill - 03-18-2024, 12:38 AM
RE: Text Previewer (windows only) - by SMcNeill - 03-18-2024, 12:34 PM
RE: Text Previewer (windows only) - by Pete - 03-25-2024, 02:47 AM
RE: Text Previewer (windows only) - by SMcNeill - 03-25-2024, 02:34 PM



Users browsing this thread: 1 Guest(s)