03-17-2024, 07:16 PM
SHELL is broken. 
Try these three examples:
$CONSOLE:ONLY and SHELL works.
$CONSOLE:ONLY and SHELL HIDE doesn't work.
SHELL withotu $CONSOLE:ONLY doesn't work.
/SIGH

Try these three examples:
Code: (Select All)
$Console:Only
F = FreeFile
Open "temp.txt" For Output As #F: Close F
Shell _Hide "reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"
Open "temp.txt" For Input As #1
For i = 1 To 10
Line Input #1, temp$
Print temp$
Next
Close
Code: (Select All)
$Console:Only
F = FreeFile
Open "temp.txt" For Output As #F: Close F
Shell "reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"
Open "temp.txt" For Input As #1
For i = 1 To 10
Line Input #1, temp$
Print temp$
Next
Close
Code: (Select All)
F = FreeFile
Open "temp.txt" For Output As #F: Close F
Shell "reg query " + Chr$(34) + "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" + Chr$(34) + " /s > temp.txt"
Open "temp.txt" For Input As #1
For i = 1 To 10
Line Input #1, temp$
Print temp$
Next
Close
$CONSOLE:ONLY and SHELL works.
$CONSOLE:ONLY and SHELL HIDE doesn't work.
SHELL withotu $CONSOLE:ONLY doesn't work.
/SIGH


